https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104743
Bug ID: 104743
Summary: [12 regression] gdc.dg/torture/pr96152.d FAILs
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
Target: sparc*-sun-solaris2.11
Since 20211130, the gdc.dg/torture/pr96152.d test FAILs on 64-bit SPARC:
FAIL: gdc.dg/torture/pr96152.d -O0 execution test
FAIL: gdc.dg/torture/pr96152.d -O0 -frelease execution test
FAIL: gdc.dg/torture/pr96152.d -O0 -frelease -g execution test
FAIL: gdc.dg/torture/pr96152.d -O0 -g execution test
FAIL: gdc.dg/torture/pr96152.d -O1 execution test
FAIL: gdc.dg/torture/pr96152.d -O1 -frelease execution test
FAIL: gdc.dg/torture/pr96152.d -O1 -frelease -g execution test
FAIL: gdc.dg/torture/pr96152.d -O1 -g execution test
FAIL: gdc.dg/torture/pr96152.d -O2 execution test
FAIL: gdc.dg/torture/pr96152.d -O2 -frelease execution test
FAIL: gdc.dg/torture/pr96152.d -O2 -frelease -g execution test
FAIL: gdc.dg/torture/pr96152.d -O2 -g execution test
FAIL: gdc.dg/torture/pr96152.d -O3 execution test
FAIL: gdc.dg/torture/pr96152.d -O3 -frelease execution test
FAIL: gdc.dg/torture/pr96152.d -O3 -frelease -g execution test
FAIL: gdc.dg/torture/pr96152.d -O3 -g execution test
FAIL: gdc.dg/torture/pr96152.d -Os execution test
FAIL: gdc.dg/torture/pr96152.d -Os -frelease execution test
FAIL: gdc.dg/torture/pr96152.d -Os -frelease -g execution test
FAIL: gdc.dg/torture/pr96152.d -Os -g execution test
Segmentation fault while running unittests:
----------------
/vol/gcc/src/hg/master/local/libphobos/libdruntime/core/runtime.d:572 extern
(C) void core.runtime.runModuleUnitTests().unittestSegvHandler(int,
core.sys.posix.signal.siginfo_t*, void*) [0x10009643b]
??:? __sighndlr [0xffffffff7e8dda27]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/lifetime.d:1121
_d_newitemU [0x1000870d4]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/aaA.d:214 void*
rt.aaA.allocEntry(scope const(rt.aaA.Implconst *), void*) [0x10007b83f]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/aaA.d:767
_d_assocarrayliteralTX [0x10007c82b]
??:? pure @trusted void*
object.aaLiteral!(pr96152.__unittest_L20_C7().ThrowingElement,
int).aaLiteral(pr96152.__unittest_L20_C7().ThrowingElement[], int[])
[0x10007afbb]
??:? pure @safe int[pr96152.__unittest_L20_C7().ThrowingElement]
pr96152.assocArray!(pr96152.__unittest_L20_C7().ThrowingElement[],
int[]).assocArray(pr96152.__unittest_L20_C7().ThrowingElement[], int[])
[0x10007af2f]
??:? @safe void pr96152.__unittest_L20_C7() [0x10007abb7]
??:? void pr96152.__modtest() [0x10007aff3]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/core/runtime.d:641
__foreachbody6 [0x10009624f]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/object.d:2268 __lambda2
[0x10008e8c7]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/minfo.d:777
__foreachbody2 [0x10008a89f]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/gcc/sections/elf.d:106 int
gcc.sections.elf.DSO.opApply(scope int delegate(ref gcc.sections.elf.DSO))
[0x10007efd3]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/minfo.d:770 int
rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*)))
[0x10008bcf7]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/object.d:2267 int
object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)) [0x10008ffef]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/core/runtime.d:629
runModuleUnitTests [0x100096933]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:493 runAll
[0x10007e873]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:467 tryExec
[0x10007eafb]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:526 _d_run_main2
[0x10007eafb]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:318 _d_run_main
[0x10007ec4b]
??:? main [0x10007b1cf]
??:? _start [0x10007a90b]