This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43961] [ARM thumb] "branch out of range" with thumb1_output_casesi
- From: "mikpe at it dot uu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2010 12:28:16 -0000
- Subject: [Bug target/43961] [ARM thumb] "branch out of range" with thumb1_output_casesi
- References: <bug-43961-19119@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from mikpe at it dot uu dot se 2010-06-22 12:28 -------
Created an attachment (id=20979)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20979&action=view)
proposed fix for PR43961
Update ARM's ADDR_VEC_ALIGN to correctly describe that its
ASM_OUTPUT_CASE_LABEL will add a 2-byte alignment directive for Thumb-1
compressed switch tables. This fixes the test cases (both the PR43961 and the
PR44603 one) for me. Untested beyond that, will include in full bootstraps and
regtests shortly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43961