Hi!

I noticed that between 704db68e45..f2de45326 (209463..r209495),
probbaly in e2ec52cad85e (r209484), building for arm-eabi breaks:

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 -Woverloaded-virtual -pedantic 
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  
-DHAVE_CONFIG_H -I. -I. -I/home/vaxbuild/repos/gcc/gcc 
-I/home/vaxbuild/repos/gcc/gcc/. -I/home/vaxbuild/repos/gcc/gcc/../include 
-I/home/vaxbuild/repos/gcc/gcc/../libcpp/include  
-I/home/vaxbuild/repos/gcc/gcc/../libdecnumber 
-I/home/vaxbuild/repos/gcc/gcc/../libdecnumber/dpd -I../libdecnumber 
-I/home/vaxbuild/repos/gcc/gcc/../libbacktrace    -o arm.o -MT arm.o -MMD -MP 
-MF ./.deps/arm.TPo /home/vaxbuild/repos/gcc/gcc/config/arm/arm.c
In file included from /home/vaxbuild/repos/gcc/gcc/rtl.h:24:0,
                 from /home/vaxbuild/repos/gcc/gcc/config/arm/arm.c:28:
/home/vaxbuild/repos/gcc/gcc/config/arm/arm.c: In function ‘void 
arm_print_operand(FILE*, rtx, int)’:
/home/vaxbuild/repos/gcc/gcc/machmode.h:183:32: error: invalid conversion from 
‘int’ to ‘machine_mode’ [-fpermissive]
        ? mode_size_inline (MODE) : mode_size[MODE]))
                                ^
/home/vaxbuild/repos/gcc/gcc/config/arm/arm.c:21433:13: note: in expansion of 
macro ‘GET_MODE_SIZE’
         if (GET_MODE_SIZE (mode) != 8 || !REG_P (x))
             ^
/home/vaxbuild/repos/gcc/gcc/machmode.h:183:32: error: invalid conversion from 
‘int’ to ‘machine_mode’ [-fpermissive]
        ? mode_size_inline (MODE) : mode_size[MODE]))
[...]


Seems the code was changed afterwards again, but even 7abf8754c7 (r209530) is
still broken:

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 -Woverloaded-virtual -pedantic 
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  
-DHAVE_CONFIG_H -I. -I. -I/home/jbglaw/repos/gcc/gcc 
-I/home/jbglaw/repos/gcc/gcc/. -I/home/jbglaw/repos/gcc/gcc/../include 
-I/home/jbglaw/repos/gcc/gcc/../libcpp/include  
-I/home/jbglaw/repos/gcc/gcc/../libdecnumber 
-I/home/jbglaw/repos/gcc/gcc/../libdecnumber/dpd -I../libdecnumber 
-I/home/jbglaw/repos/gcc/gcc/../libbacktrace    -o arm.o -MT arm.o -MMD -MP -MF 
./.deps/arm.TPo /home/jbglaw/repos/gcc/gcc/config/arm/arm.c
/home/jbglaw/repos/gcc/gcc/config/arm/arm.c: In function ‘void 
arm_print_operand(FILE*, rtx, int)’:
/home/jbglaw/repos/gcc/gcc/config/arm/arm.c:21433:84: error: invalid conversion 
from ‘int’ to ‘machine_mode’ [-fpermissive]
/home/jbglaw/repos/gcc/gcc/config/arm/arm.c:21458:77: error: invalid conversion 
from ‘int’ to ‘machine_mode’ [-fpermissive]
/home/jbglaw/repos/gcc/gcc/config/arm/arm.c:21493:85: error: invalid conversion 
from ‘int’ to ‘machine_mode’ [-fpermissive]
/home/jbglaw/repos/gcc/gcc/config/arm/arm.c:21494:81: error: invalid conversion 
from ‘int’ to ‘machine_mode’ [-fpermissive]
/home/jbglaw/repos/gcc/gcc/config/arm/arm.c:21507:84: error: invalid conversion 
from ‘int’ to ‘machine_mode’ [-fpermissive]
/home/jbglaw/repos/gcc/gcc/config/arm/arm.c:21626:84: error: invalid conversion 
from ‘int’ to ‘machine_mode’ [-fpermissive]
/home/jbglaw/repos/gcc/gcc/config/arm/arm.c:21660:84: error: invalid conversion 
from ‘int’ to ‘machine_mode’ [-fpermissive]
/home/jbglaw/repos/gcc/gcc/config/arm/arm.c: In function ‘void 
thumb_exit(FILE*, int)’:
/home/jbglaw/repos/gcc/gcc/config/arm/arm.c:25960:85: error: invalid conversion 
from ‘int’ to ‘machine_mode’ [-fpermissive]
make[1]: *** [arm.o] Error 1

MfG, JBG

-- 
      Jan-Benedict Glaw      jbg...@lug-owl.de              +49-172-7608481
 Signature of:                    Arroganz verkürzt fruchtlose Gespräche.
 the second  :                                   -- Jan-Benedict Glaw

Attachment: signature.asc
Description: Digital signature

Reply via email to