Skip to content

Assertion failed 'isCandidateVar(fieldVarDsc) == isMultiReg' during 'Linear scan register alloc' #85628

Open
@kunalspathak

Description

@kunalspathak
// Found by Antigen
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
public class TestClass
{
    public static void Main(string[] args)
    {
    }
}

/*
Environment:
set DOTNET_JitMaxLocalsToTrack=0
set DOTNET_ReadyToRun=0
set DOTNET_ZapDisable=1

Assert failure(PID 32228 [0x00007de4], Thread: 53992 [0xd2e8]): Assertion failed 'isCandidateVar(fieldVarDsc) == isMultiReg' in 'System.Text.Unicode.Utf8Utility:TranscodeToUtf8(uint,int,uint,int,byref,byref):int' during 'Linear scan register alloc' (IL size 1605; hash 0x6b1af0be; Tier1)
    File: E:\git\runtime\src\coreclr\jit\lsrabuild.cpp Line: 1270
    Image: e:\git\runtime\artifacts\tests\coreclr\windows.x86.checked\tests\Core_Root\CoreRun.exe
*/

Metadata

Metadata

Assignees

Labels

arch-x86area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIos-windows

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions