This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
casesi Pattern
- To: gcc at gcc dot gnu dot org
- Subject: casesi Pattern
- From: James Montgomerie <jrmg at dcs dot ed dot ac dot uk>
- Date: Thu, 3 May 2001 14:41:06 +0100 (BST)
I'm creating a new backend for, and am running into problems with my
assembler's tableswitch patten. It should be something like:
tableswitch <low> [high]
<label1>
<label2>
.
.
.
<labeln>
default: <defaultlabel>
GCC is, howeve, insisting on placing a label afte the initial tableswitch
line (corresponding to the casesi pattern), but before the actual jump
table (as output by ASM_OUTPUT_ADDR_VEC_ELT). Is there any way to
suppess this lable?
I'm also having trouble placing the last line (the 'default:' line)
corectly, though I imagine this will be easier.
Jamie.