This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.0 RC2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]