This is the mail archive of the gcc@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: CVS mainline cp/spew.c failing to build


On Fri, May 25, 2001 at 01:12:36PM -0500, Gordon Sadler wrote:
> stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -c  -DIN_GCC    -Os -march=i686 -fstrict-aliasing -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   -DHAVE_CONFIG_H    -I. -Icp -I/usr/src/cvs/gcc/gcc -I/usr/src/cvs/gcc/gcc/cp -I/usr/src/cvs/gcc/gcc/config -I/usr/src/cvs/gcc/gcc/../include /usr/src/cvs/gcc/gcc/cp/spew.c -o cp/spew.o
> /usr/src/cvs/gcc/gcc/cp/spew.c: In function `snarf_method':
> /usr/src/cvs/gcc/gcc/cp/spew.c:1178: Internal error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> make[2]: *** [cp/spew.o] Error 1
> 
> This is the followup I mentioned when reporting gcov failing.
> 
This is getting interesting.
I can produce a cp/spew.o if I do s/Os/O2 . Just like the other problem
with gcov.c.

I have produced with -save-temps and Os the following:
ls -l spew*
-rw-r--r--    1 gbsadler src        349734 May 25 13:54 spew.i
-rw-r--r--    1 gbsadler src         28140 May 25 13:54 spew.o
-rw-r--r--    1 gbsadler src         37557 May 25 13:54 spew.s

Now the spew.o was produced with O2 of course. I can make the same offer
for these temps as I do for the gcov temps. If anyone is interested, I
can gzip/bzip2 them and post to this list/gnats or arrange to make them
available on www.

-- 
Gordon Sadler


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