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

            Bug ID: 124322
           Summary: algol68/execute/posix-exit-1.a68 FAILs
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: algol68
          Assignee: algol68 at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: i386-pc-solaris2.11, i686-pc-linux-gnu,
                    i386-apple-darwin

The algol68/execute/posix-exit-1.a68 test FAILs on 32-bit Solaris/x86,
Linux/x86_64,
and Darwin/i386:

FAIL: algol68/execute/posix-exit-1.a68 execution test,  -O0 
FAIL: algol68/execute/posix-exit-1.a68 execution test,  -O1 
FAIL: algol68/execute/posix-exit-1.a68 execution test,  -O2 
FAIL: algol68/execute/posix-exit-1.a68 execution test,  -O2 -fcheck=bounds 
FAIL: algol68/execute/posix-exit-1.a68 execution test,  -O2 -fcheck=nil 
FAIL: algol68/execute/posix-exit-1.a68 execution test,  -O2
-fomit-frame-pointer -finline-functions 
FAIL: algol68/execute/posix-exit-1.a68 execution test,  -O2
-fomit-frame-pointer -finline-functions -funroll-loops 
FAIL: algol68/execute/posix-exit-1.a68 execution test,  -O3 -g 
FAIL: algol68/execute/posix-exit-1.a68 execution test,  -Os 
FAIL: algol68/execute/posix-exit-1.a68 execution test, -flto

but not e.g. on 32-bit Solaris/SPARC.

On Solaris, the test exits with 32.  truss shows

27355:  lwp_private(0, 1, 0xFE602A40)                   = 0x000001C3
27355:  setustack(0xFE602AA0)                           = 0
27355:  fcntl(196, F_BADFD, 0x00000000)                 = 196
27355:  sigfillset(0xFE0640E0)                          = 0
27355:          sigmask = 0xFFFFFFFF 0xFFFFFFFF 0x000000FF 0
27355:  sysi86(SI86FPSTART, 0xFE063C00, 0x0000133F, 0x00001F80) = 0x00000001
27355:  _exit(-16785632)

Linux is similar:

exit_group(-6945232)                    = ?
+++ exited with 48 +++

Darwin exists with 64.

Reply via email to