From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 85E683858C27; Wed, 15 Mar 2023 09:05:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 85E683858C27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678871149; bh=PN4nScRAe3oBAB2frgR8/HclYZcJt37iSs/FT7FZ9SI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=f9Z/3O5fAlxS0BDz9YZDd2+qxmss0r9L4WX/MrTUHVsjEDPHXjuu78H7HLsJNdPaj 78eyYfPQ2KV24mo1nLocDfHRBE8w2oTbO+VlyOjGYAryHC7Z4i+Jlq5XKYLHJ5Tocn Wu+lEezroKxyULxK4S/EvSHYK1LR0HUF/jrd38WU= From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/109125] [13 regression] SIGBUS in m2pim_ldtoa_ldtoa Date: Wed, 15 Mar 2023 09:05:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109125 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Gaius Mulley --- [...] > Version 2 of the patch catches some more cases found in the iso libraries. I've tried that one last night and most of the failures are gone. Thanks for the super-fix patch. Some failures remain, however, both 32 and 64-bit again: +FAIL: gm2/isolib/run/pass/readreal.mod execution, -O=20 +FAIL: gm2/isolib/run/pass/readreal.mod execution, -O -g=20 +FAIL: gm2/isolib/run/pass/readreal.mod execution, -O3 -fomit-frame-pointe= r=20 +FAIL: gm2/isolib/run/pass/readreal.mod execution, -O3 -fomit-frame-pointer -finline-functions=20 +FAIL: gm2/isolib/run/pass/readreal.mod execution, -Os=20 +FAIL: gm2/isolib/run/pass/readreal.mod execution, -g=20 +FAIL: gm2/isolib/run/pass/real3.mod execution, -O=20 +FAIL: gm2/isolib/run/pass/real3.mod execution, -O -g=20 +FAIL: gm2/isolib/run/pass/real3.mod execution, -O3 -fomit-frame-pointer=20 +FAIL: gm2/isolib/run/pass/real3.mod execution, -O3 -fomit-frame-pointer -finline-functions=20 +FAIL: gm2/isolib/run/pass/real3.mod execution, -Os=20 +FAIL: gm2/isolib/run/pass/real3.mod execution, -g=20 +FAIL: gm2/pim/run/pass/cycles.mod execution, -O=20 +FAIL: gm2/pim/run/pass/cycles.mod execution, -O -g=20 +FAIL: gm2/pim/run/pass/cycles.mod execution, -O3 -fomit-frame-pointer=20 +FAIL: gm2/pim/run/pass/cycles.mod execution, -O3 -fomit-frame-pointer -finline-functions=20 +FAIL: gm2/pim/run/pass/cycles.mod execution, -Os=20 +FAIL: gm2/pim/run/pass/cycles.mod execution, -g=20 +FAIL: gm2/pimlib/logitech/run/pass/realconv.mod execution, -O=20 +FAIL: gm2/pimlib/logitech/run/pass/realconv.mod execution, -O -g=20 +FAIL: gm2/pimlib/logitech/run/pass/realconv.mod execution, -O3 -fomit-frame-pointer=20 +FAIL: gm2/pimlib/logitech/run/pass/realconv.mod execution, -O3 -fomit-frame-pointer -finline-functions=20 +FAIL: gm2/pimlib/logitech/run/pass/realconv.mod execution, -Os=20 +FAIL: gm2/pimlib/logitech/run/pass/realconv.mod execution, -g=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput.mod execution, -O=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput.mod execution, -O -g=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput.mod execution, -O3 -fomit-frame-pointer=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput.mod execution, -O3 -fomit-frame-pointer -finline-functions=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput.mod execution, -Os=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput.mod execution, -g=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput2.mod execution, -O=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput2.mod execution, -O -g=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput2.mod execution, -O3 -fomit-frame-pointer=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput2.mod execution, -O3 -fomit-frame-pointer -finline-functions=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput2.mod execution, -Os=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput2.mod execution, -g=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput3.mod execution, -O=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput3.mod execution, -O -g=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput3.mod execution, -O3 -fomit-frame-pointer=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput3.mod execution, -O3 -fomit-frame-pointer -finline-functions=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput3.mod execution, -Os=20 +FAIL: gm2/pimlib/logitech/run/pass/realinput3.mod execution, -g=20 +FAIL: gm2/types/run/pass/varient4.mod execution, -O=20 +FAIL: gm2/types/run/pass/varient4.mod execution, -O -g=20 +FAIL: gm2/types/run/pass/varient4.mod execution, -O3 -fomit-frame-pointer= =20 +FAIL: gm2/types/run/pass/varient4.mod execution, -O3 -fomit-frame-pointer -finline-functions=20 +FAIL: gm2/types/run/pass/varient4.mod execution, -Os=20 +FAIL: gm2/types/run/pass/varient4.mod execution, -g=20 I've had a look at the readreal.mod one: gm2.log shows enter a real number: RTExceptions.mod:649:35: In invalidloc RTExceptions.mod:649:35:invalid address referenced executed /var/gcc/regression/master/11.4-gcc/build/gcc/testsuite/gm2/readreal.x0 with result fail This seems to be the same failure in all affected cases. However, when I compile that testcase manually, the exception is different: enter a real number: EXCEPTIONS.mod:65:56: In RAISE EXCEPTIONS.mod:65:56:IOChan: ChanId specified is invalid [New Thread 1 (LWP 1)] Thread 2 received signal SIGABRT, Aborted. [Switching to Thread 1 (LWP 1)] 0xfec18838 in __lwp_sigqueue () from /lib/libc.so.1 1: x/i $pc =3D> 0xfec18838 <__lwp_sigqueue+8>:=20=20=20=20=20=20=20 bcc,a %icc, 0xfec18848 <__lwp_sigqueue+24> 0xfec1883c <__lwp_sigqueue+12>: mov %g0, %o0 (gdb) bt #0 0xfec18838 in __lwp_sigqueue () from /lib/libc.so.1 #1 0xfeb56a54 in raise () from /lib/libc.so.1 #2 0xfeb27fe0 in abort () from /lib/libc.so.1 #3 0x0002bb60 in m2pim_M2RTS_HALT (exitcode=3D-1) at /vol/gcc/src/hg/master/local/libgm2/libm2pim/../../gcc/m2/gm2-libs/M2RTS.mo= d:238 #4 0x00037284 in m2pim_RTExceptions_DefaultErrorCatch () at /vol/gcc/src/hg/master/local/libgm2/libm2pim/../../gcc/m2/gm2-libs/RTExcept= ions.mod:156 #5 0x00022728 in main (argc=3D1, argv=3D0xffbfebec, envp=3D0xffbfebf4) at /vol/gcc/src/hg/master/local/gcc/testsuite/gm2/isolib/run/pass/readreal.mod= :18 Maybe I'm missing some env variable passed in by the test framework?=