This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: TOT bootstrap failure



On Nov 10, 2004, at 7:06 PM, Matt Austern wrote:


stage1/xgcc -Bstage1/ -B/work/root/powerpc-apple-darwin7.6.0/bin/ -c -g -O2 -mdynamic-no-pic -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -Werror -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../fsf/gcc -I../../fsf/gcc/cp -I../../fsf/gcc/../include -I./../intl -I../../fsf/gcc/../libcpp/include ../../fsf/gcc/cp/typeck.c -o cp/typeck.o
cc1: warnings being treated as errors
../../fsf/gcc/cp/typeck.c: In function 'cxx_mark_addressable':
../../fsf/gcc/cp/typeck.c:4345: warning: suggest explicit braces to avoid ambiguous 'else'


Fixed thusly. Applied as obvious.

Thanks,
Andrew Pinski

ChangeLog:
	* typeck.c (cxx_mark_addressable): Add braces around the first if.

Attachment: temp.diff.txt
Description: Text document


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