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]

Re: New g++ bug


Mark

I've tried compiling gperf v2.7.1 (i.e. 2.7 + egcs gperf.patch) with
egcs-19991207 and tree inlining enabled on x86-linux.

I got the following error when compiling the file key-list.cc with CFLAGS="-g0 -O3".

./key-list.cc: In method `void Key_List::output_lookup_array ()':
./key-list.cc:509: label `((anonymous))' used before containing binding contour
./key-list.cc:509: label `((anonymous))' used before containing binding contour
make[1]: *** [key-list.o] Error 1
make: *** [all] Error 2

Using CFLAGS="-g0 -O2" or disabling tree inlining I get a successful compilation.

Note all the other files compile successfully with FLAGS="-g0 -O3".

Graham


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