------- Comment #1 from rob1weld at aol dot com  2009-01-06 22:45 -------
With a Profiled Bootstrap these things come back to haunt you - hit by a
-Werror :


# make profiledbootstrap
...
/usr/share/src/gcc_build/./prev-gcc/xgcc -B/usr/share/src/gcc_build/./prev-gcc/
-B/usr/local/i386-pc-solaris2.11/bin/ -c  -g -O2 -fprofile-generate -DIN_GCC  
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror  
-DHAVE_CONFIG_H -I. -I. -I../../gcc_trunk/gcc -I../../gcc_trunk/gcc/.
-I../../gcc_trunk/gcc/../include -I./../intl
-I../../gcc_trunk/gcc/../libcpp/include  -I../../gcc_trunk/gcc/../libdecnumber
-I../../gcc_trunk/gcc/../libdecnumber/dpd -I../libdecnumber 
-DCLOOG_PPL_BACKEND  -fexceptions \
                ../../gcc_trunk/gcc/config/i386/i386.c -o i386.o
cc1: warnings being treated as errors
../../gcc_trunk/gcc/config/i386/i386.c: In function 'ix86_expand_call':
../../gcc_trunk/gcc/config/i386/i386.c:18511: error: ISO C90 forbids variable
length array 'vec'
gmake[3]: *** [i386.o] Error 1
gmake[3]: Leaving directory `/usr/share/src/gcc_build/gcc'
gmake[2]: *** [all-stageprofile-gcc] Error 2
gmake[2]: Leaving directory `/usr/share/src/gcc_build'
gmake[1]: *** [stageprofile-bubble] Error 2
gmake[1]: Leaving directory `/usr/share/src/gcc_build'
gmake: *** [profiledbootstrap] Error 2
u...@opensolaris:/usr/share/src/gcc_build# cd gcc/


I compiled by hand the one file (without -Werror) and re-ran make,
libbackend finished soon thereafter. Now, on to the next stage ...


Rob


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38746

Reply via email to