This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: target/4863: arm/thumb: code for switch statements: branch out of range
- From: rearnsha at gcc dot gnu dot org
- To: avbidder at acter dot ch, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rearnsha at gcc dot gnu dot org
- Date: 17 Mar 2002 15:57:20 -0000
- Subject: Re: target/4863: arm/thumb: code for switch statements: branch out of range
- Reply-to: rearnsha at gcc dot gnu dot org, avbidder at acter dot ch, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rearnsha at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: arm/thumb: code for switch statements: branch out of range
Responsible-Changed-From-To: unassigned->rearnsha
Responsible-Changed-By: rearnsha
Responsible-Changed-When: Sun Mar 17 07:57:19 2002
Responsible-Changed-Why:
Patch in progress. We shouldn't be using branch instructions
for thumb pic. It works ok for arm, but is unsuitable for thumb,
not least because the dispatch code assumes that each entry in
the table will be four bytes, but a thumb branch instruction
is only two.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4863