FAIL: gcc.dg/pch/inline-4.c -O0 (test for excess errors) FAIL: gcc.dg/pch/inline-4.c -O0 -g (test for excess errors) have appeared on mainline between 20050517 and 20050518 on hppa2.0w-hpux. gcc-testresults shows them also failing on platforms including mips-sgi-irix6.5, powerpc-unknown-linux-gnu, powerpc64-unknown-linux-gnu. On hppa2.0w-hpux: Executing on host: gcc /home/gcc/nightlies/src-mainline-2005-05-18/gcc-mainline-2005-05-18/gcc/testsuite/gcc.dg/pch/inline-4.c -O0 -g -I. -fno-show-column -S -o inline-4.s (timeout = 300) ./inline-4.h: In function 'getstring': ./inline-4.h:2: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Confirmed, hmm, I wonder if something is not marked as GTY.
I am having problems to reproduce it on my machines (i686,x86-64,powerpc64) so I need some help debugging the problem (at least backtrace to start with) Honza
Subject: Re: [4.1 Regression] gcc.dg/pch/inline-4.c fails Hi, I finally reproduced it on IA-64 machine. I am testing the attached fix. Can you please try if it fixes your problem too? 2005-05-23 Jan Hubicka <jh@suse.cz> * tree-flow.h (stmt_ann_d): Kill GTY ((skip)) mark on BB. Index: tree-flow.h =================================================================== RCS file: /cvs/gcc/gcc/gcc/tree-flow.h,v retrieving revision 2.109 diff -c -3 -p -r2.109 tree-flow.h *** tree-flow.h 17 May 2005 20:28:22 -0000 2.109 --- tree-flow.h 23 May 2005 09:40:11 -0000 *************** struct stmt_ann_d GTY(()) *** 308,314 **** unsigned makes_clobbering_call : 1; /* Basic block that contains this statement. */ ! basic_block GTY ((skip (""))) bb; /* Operand cache for stmt. */ struct stmt_operands_d GTY ((skip (""))) operands; --- 308,314 ---- unsigned makes_clobbering_call : 1; /* Basic block that contains this statement. */ ! basic_block bb; /* Operand cache for stmt. */ struct stmt_operands_d GTY ((skip (""))) operands;
Subject: Re: [4.1 Regression] gcc.dg/pch/inline-4.c fails On Mon, 23 May 2005, hubicka at ucw dot cz wrote: > I finally reproduced it on IA-64 machine. I am testing the attached > fix. Can you please try if it fixes your problem too? It appears to fix the problem on hppa2.0w-hp-hpux11.23 for me.
Fixed.