Shantonu Sen <ssen@opendarwin.org> writes:
| For me, it caused bootstrapping to fail like this:
|
| /Volumes/HD/ltmp/ssen/gcc-build/./prev-gcc/xgcc -B/Volumes/HD/ltmp/
| ssen/gcc-build/./prev-gcc/ -B/usr/local/i386-apple-darwin8.4.2/bin/ -
| c -O2 -g -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -
| Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-
| variadic-macros -Wno-overlength-strings -Wold-style-definition -
| Wmissing-format-attribute -Werror -fno-common -DHAVE_CONFIG_H -I. -
| I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -
| I./../intl -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../
| libdecnumber -I../libdecnumber ../../gcc/gcc/mode-switching.c -o
| mode-switching.o
| cc1: warnings being treated as errors
| ../../gcc/gcc/mode-switching.c: In function
'optimize_mode_switching':
| ../../gcc/gcc/mode-switching.c:409: warning: unused variable
| 'entry_exit_extra'
| make[3]: *** [mode-switching.o] Error 1
| make[2]: *** [all-stage2-gcc] Error 2
| make[1]: *** [stage2-bubble] Error 2
|
|
| - = xcalloc (last_basic_block + entry_exit_extra, sizeof
**bb_info);
| + = XCNEWVEC (struct bb_info, last_basic_block);
|
|
| Doesn't this also change the semantics, since the allocation size is
| smaller?
Definitely. And it could not have passed bootstrap. Marcin, please
indicate bootstrapping platfrom and result of regression tests.