https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124725

            Bug ID: 124725
           Summary: libphobos.exceptions/assert_fail.d FAILs
           Product: gcc
           Version: 16.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, sparc64-unknown-linux-gnu

The libphobos.exceptions/assert_fail.d test FAILs on 32-bit SPARC (Solaris and
Linux):

FAIL: libphobos.exceptions/assert_fail.d execution test

core.exception.AssertError@/vol/gcc/src/hg/master/local/libphobos/testsuite/libphobos.exceptions/assert_fail.d(538):
Assertion failure
----------------
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/dmain2.d:231
_d_traceContext [0xb52a7]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/rt/deh.d:47 _d_createTrace
[0xbee53]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/gcc/deh.d:484 _d_throw
[0xa964f]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/core/exception.d:569
onAssertError [0xba6cf]
/vol/gcc/src/hg/master/local/libphobos/libdruntime/core/exception.d:798
_d_assertp [0xba6fb]
/vol/gcc/src/hg/master/local/libphobos/testsuite/libphobos.exceptions/assert_fail.d:538
void assert_fail.testDestruction() [0xa6253]
/vol/gcc/src/hg/master/local/libphobos/testsuite/libphobos.exceptions/assert_fail.d:576
_Dmain [0xa641b]

However, the failure only happens at -O2/-O1.  With -O0, the test PASSes.

Reply via email to