This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Uhm... not again :(
I will look into this tomorrow.

Honza
> 
> 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)
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]