------- Additional Comments From joel at oarcorp dot com  2004-11-18 14:26 
-------
Subject: Re:  [3.4 only] ICE: output_operand: invalid expression
 as operand

corsepiu at gcc dot gnu dot org wrote:
> ------- Additional Comments From corsepiu at gcc dot gnu dot org  2004-11-18 
> 13:14 -------
> The same ICE occurs for avr-rtems* and h8300-rtems* toolchains having been 
> built
> from the same sources.
> 
> 


A bit more follow up.  Again the 4.6 tools are gcc 3.2.3 based
and the 4.7 are gcc 3.3.5.

+ /opt/rtems-4.6/bin/arm-rtems-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.6/bin/h8300-rtems-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.6/bin/i386-rtems-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.6/bin/i960-rtems-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.6/bin/m68k-rtems-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.6/bin/mips-rtems-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.6/bin/powerpc-rtems-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.6/bin/sh-rtemself-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.6/bin/sh-rtems-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.6/bin/sparc-rtems-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.7/bin/arm-rtems4.7-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.7/bin/i386-rtems4.7-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.7/bin/m68k-rtems4.7-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.7/bin/mips64-rtems4.7-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.7/bin/mips-rtems4.7-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.7/bin/powerpc-rtems4.7-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.7/bin/sh-rtemself4.7-gcc -O1 -c cpuboot.c
+ /opt/rtems-4.7/bin/sparc-rtems4.7-gcc -O1 -c cpuboot.c

I tried it again at -O4 and it all compiled fine.

I think it is pretty safe to assume at this point that the
problem is specific to 3.4.

--joel


-- 


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

Reply via email to