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

Jan-Benedict Glaw <jbg...@lug-owl.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbg...@lug-owl.de

--- Comment #15 from Jan-Benedict Glaw <jbg...@lug-owl.de> 2013-02-12 21:33:27 
UTC ---
The fix causes a build regression for mn10300:

g++ -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I.
-I. -I../../../../gcc/gcc -I../../../../gcc/gcc/.
-I../../../../gcc/gcc/../include -I../../../../gcc/gcc/../libcpp/include 
-I../../../../gcc/gcc/../libdecnumber -I../../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../../../gcc/gcc/../libbacktrace    \
                ../../../../gcc/gcc/config/mn10300/mn10300.c -o mn10300.o
../../../../gcc/gcc/config/mn10300/mn10300.c: In function ‘void
mn10300_scan_for_setlb_lcc()’:
../../../../gcc/gcc/config/mn10300/mn10300.c:3238:35: error: ISO C++ forbids
comparison between pointer and integer [-fpermissive]
make[2]: *** [mn10300.o] Error 1
make[2]: Leaving directory `/home/vaxbuild/build/mn10300-linux/gcc-stage1/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/vaxbuild/build/mn10300-linux/gcc-stage1'
BUILDLOG: Execution result: 2, took 1152.871889203 sec for command make all-gcc
install-gcc
BUILDLOG: Aborting execution
make: *** [cross-compiler] Error 2


This happens because the fix changed flow_loops_find():

-int
+struct loops *
 flow_loops_find (struct loops *loops)

...with the caller in the mn10300 backend not being changed.

Reply via email to