public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/56441] New: [ARM Thumb] generated asm code produces "branch out of range" error in gas with -O1 -mcpu=cortex-m3
@ 2013-02-25  8:25 gnugcc at emblocks dot org
  2013-02-25  8:31 ` [Bug target/56441] " gnugcc at emblocks dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: gnugcc at emblocks dot org @ 2013-02-25  8:25 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56441

             Bug #: 56441
           Summary: [ARM Thumb] generated asm code produces "branch out of
                    range" error in gas with -O1 -mcpu=cortex-m3
    Classification: Unclassified
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gnugcc@emblocks.org


Already applied patch 43961.

Only with -O1 (other optimizations levels are going well).

The .LVL137 (cbnz)  is giving the error.



snippet:

    strb    r4, [r0, #30]
.LVL136:
    .loc 1 2362 0
    ldrb    r1, [r1, #15]    @ zero_extendqisi2
.LVL137:
    cbnz    r1, .L35
.LVL138:
    .loc 1 2366 0
    mov    r1, #30
    b    .L6
.LVL139:


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-03-05  7:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-25  8:25 [Bug target/56441] New: [ARM Thumb] generated asm code produces "branch out of range" error in gas with -O1 -mcpu=cortex-m3 gnugcc at emblocks dot org
2013-02-25  8:31 ` [Bug target/56441] " gnugcc at emblocks dot org
2013-02-25  9:14 ` jakub at gcc dot gnu.org
2013-02-25 11:36 ` gnugcc at emblocks dot org
2013-02-25 11:41 ` gnugcc at emblocks dot org
2013-02-25 13:15 ` gnugcc at emblocks dot org
2013-02-25 16:48 ` gnugcc at emblocks dot org
2013-02-26  9:06 ` gnugcc at emblocks dot org
2013-02-26 17:02 ` rearnsha at gcc dot gnu.org
2013-02-26 17:03 ` rearnsha at gcc dot gnu.org
2013-02-26 17:25 ` gnugcc at emblocks dot org
2013-02-26 17:51 ` gnugcc at emblocks dot org
2013-03-05  7:07 ` rearnsha at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).