Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Tony Hosking
Mon, 13 Apr 1992 13:12
Bug in gcc-2.1 for VAX
Author: Tony Hosking
Date: Mon, 13 Apr 1992 13:12
Date: Mon, 13 Apr 1992 13:12
31 lines
1332 bytes
1332 bytes
There seems to be a pattern missing from the vax.md machine description in
gcc-2.1 to dealing with indexed indirect jumps. The program:
extern void *table[];
void try (int i) {
goto *table[i];
}
gives the following error message when compiled with gcc-2.1 on a VAX running
Ultrix 4.1:
try.c: In function `test':
try.c:5: internal error--unrecognizable insn:
(jump_insn 8 7 9 (set (pc)
(mem/s:SI (plus:SI (mult:SI (reg:SI 20)
(const_int 4))
(symbol_ref:SI ("table"))))) -1 (nil)
(nil))
gcc: Internal compiler error: program cc1 got fatal signal 4
I'd appreciate any help in updating the machine description.
Thanks,
Tony Hosking
Papernet: Dept. of Computer Science
University of Massachusetts _--_|\
Amherst, MA 01003 / \
Voicenet: (413) 545-0256 \_.--._/ )
Internet: hosking@cs.umass.edu v /
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads