------- Additional Comments From corsepiu at gcc dot gnu dot org  2004-12-14 
13:58 -------
PR18542 and this PR are not identical:

Proof:
* Compiling the example from comment #3
# m68k-rtems4.7-gcc -m68020 -O2 -o tmp.o -c pr18549.c
pr18549.c: In function `foo':
pr18549.c:31: internal compiler error: output_operand: invalid expression as 
operand

# m68k-rtems4.7-gcc -m68000 -O2 -o tmp.o -c pr18549.c
[No ICE]

* Compling the example from PR18542:
# m68k-rtems4.7-gcc -m68000 -O2 -o tmp.o -c cpuboot.c
cpuboot.c: In function `boot_phase_1':
cpuboot.c:8: internal compiler error: output_operand: invalid expression as 
operand

# m68k-rtems4.7-gcc -m68020 -O2 -o tmp.o -c cpuboot.c
cpuboot.c: In function `boot_phase_1':
cpuboot.c:8: internal compiler error: output_operand: invalid expression as 
operand

=> The ICE from the example in PR15492 is independent of -m68020

Furthermore, no ICE occurs for the example from comment #3 with avr-*:
# avr-rtems4.7-gcc -O2 -o tmp.o -c pr18549.c

-- 


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

Reply via email to