GCC 4.0 RC2
Richard Sandiford
rsandifo@redhat.com
Tue Apr 12 21:15:00 GMT 2005
Richard Sandiford <rsandifo@redhat.com> writes:
> PS. mips.c has the following
>
> ----------------------------------------------------------------------------
> /* Return the length of instruction INSN.
>
> ??? MIPS16 switch tables go in .text, but we don't define
> JUMP_TABLES_IN_TEXT_SECTION, so get_attr_length will not
> compute their lengths correctly. */
>
> static int
> mips16_insn_length (rtx insn)
> ----------------------------------------------------------------------------
>
> ...which can probably go away after this patch. That's just a
> clean-up though. I'm not suggesting it for 4.0.
Huh. For the record: it can't. get_attr_length() returns 0
for ADDR_VECs regardless of JUMP_IN_TEXT_SECTION. I'll update
the comment when applying the bug-fix patch to mainline.
But like I say, this is all independent of the RC2 RFA anyway.
Sorry for the noise.
Richard
More information about the Gcc
mailing list