Question about CASE_DROPS_THROUGH
Steven Bosscher
stevenb@suse.de
Sun Jun 20 13:30:00 GMT 2004
Hi,
There is this target macro CASE_DROPS_THROUGH that is only defined
by the vax backend:
/* Define this if the case instruction drops through after the table
when the index is out of range. Don't define it if the case insn
jumps to the default label instead. */
#define CASE_DROPS_THROUGH
Is there a different way to get the same behavior somehow without
this define (such as prefixing the switch blocks with a range
check perhaps?). vax is the only target that defines this macro,
so there's not even a way to see if it still works properly.
(IMHO the whole vax backend should go away for that reason, but
that's a different issue).
I'm not even sure how this is supposed to work. "Out of range" of
what range, the case range??
Gr.
Steven
More information about the Gcc
mailing list