This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/10024: [3.4 regression] [HP-PA] inline optimization ICE
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: zack at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, hubica at gcc dot gnu dot org, tausq at debian dot org
- Date: Mon, 7 Apr 2003 19:18:51 -0400 (EDT)
- Subject: Re: optimization/10024: [3.4 regression] [HP-PA] inline optimization ICE
It appears that the addition of the following patch
Mon Apr 7 15:56:30 CEST 2003 Jan Hubicka <jh at suse dot 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 dot anglin at nrc-cnrc dot gc dot ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)