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]

RE: Testcase for Irix6 chill bootstrap failures -gdwarf-2 related


Can confirm this test case for irix6.5 with 20000306

OK for
gcc -c ch.c
gcc -c -O1 ch.c
gcc -c -O2 ch.c
gcc -c -O3 ch.c
gcc -c -g -O0 ch.c

fails with "gcc: Internal compiler error: program cc1 got fatal signal 11"
gcc -c -g -O1 ch.c
gcc -c -g -O2 ch.c
gcc -c -g -O3 ch.c


> -----Original Message-----
> From:	Kaveh R. Ghazi [SMTP:ghazi@caip.rutgers.edu]
> Sent:	Friday, 10 March 2000 5:27
> To:	egcs-bugs@egcs.cygnus.com
> Cc:	jason@cygnus.com
> Subject:	Testcase for Irix6 chill bootstrap failures -gdwarf-2
> related
> 
> Regarding the mips bootstrap failures in the chill directory, I've
> reduced the following testcase from gcc/ch/hash.c which is a gperf
> generated file.
> 
> Compiling it on mips-sgi-irix6.2 with "-g -O2" or on i686-pc-linux-gnu
> with "-g -O2 -gdwarf-2" causes a SEGV.  It also happens at -O1, and I
> think the __inline keyword is necessary.
> 
> (This should probably be in the testsuite.)
> 
> 		--Kaveh
> 
> 
> __inline
> struct resword *
> in_word_set (str, len)
>      register const char *str;
>      register unsigned int len;
> {
>   enum
>     {
>       TOTAL_KEYWORDS = 300,
>       MIN_WORD_LENGTH = 2,
>       MAX_WORD_LENGTH = 30,
>       MIN_HASH_VALUE = 7,
>       MAX_HASH_VALUE = 2821
>     };
>  
>   return 0;
> }

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