target/4863: arm/thumb: code for switch statements: branch out of range

rearnsha@gcc.gnu.org rearnsha@gcc.gnu.org
Sun Mar 17 07:57:00 GMT 2002


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



More information about the Gcc-bugs mailing list