optimization/10024: [3.4 regression] [HP-PA] inline optimization ICE
John David Anglin
dave@hiauly1.hia.nrc.ca
Mon Apr 7 23:18:00 GMT 2003
It appears that the addition of the following patch
Mon Apr 7 15:56:30 CEST 2003 Jan Hubicka <jh@suse.cz>
PR opt/10024
Revert Zack's change
* cfglayout.c (cfg_layout_redirect_edge):
Redirect any branch edges unified with the fallthru one.
* cfgrtl.c (force_nonfallthru_and_redirect): Do not special
case fallthru edges when called via cfglayout.c
causes gcc.c-torture/compile/20030405-1.c to fail on
hppa2.0w-hp-hpux11.11 on the 3.3 branch at -O2 and above.
<http://gcc.gnu.org/ml/gcc-testresults/2003-04/msg00438.html>.
The test passed in my previous build.
Running under gdb, the crash occurs at the spot mentioned by Zack
in the audit trail:
Starting program: /xxx/gnu/gcc-3.3/objdir/gcc/testsuite/../cc1 -O2 /xxx/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/compile/20030405-1.c
warning: Unable to find __d_pid symbol in object file.
warning: Suggest linking with /opt/langtools/lib/end.o.
warning: GDB will be unable to track shl_load/shl_unload calls
fixfloor fixtoi ftofix fixtof fixdiv itofix foo
Program received signal SIGSEGV, Segmentation fault.
force_nonfallthru_and_redirect (e=0x4008a000, target=0x40089a60)
at ../../gcc/gcc/cfgrtl.c:961
961 b->probability = prob;
(gdb) p b
$1 = 0x0
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the Gcc-bugs
mailing list