public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/52294] New: [4.7 Regression] [ARM Thumb] generated asm code produces "branch out of range" error in gas with -Os -mcpu=cortex-a9
@ 2012-02-17 10:32 bero at arklinux dot org
  2012-02-17 10:51 ` [Bug target/52294] " mikpe at it dot uu.se
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bero at arklinux dot org @ 2012-02-17 10:32 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52294
           Summary: [4.7 Regression] [ARM Thumb] generated asm code
                    produces "branch out of range" error in gas with -Os
                    -mcpu=cortex-a9
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bero@arklinux.org


Created attachment 26693
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26693
Preprocessed source triggering this issue

[bero@localhost ~]$ /opt/android-toolchain-4.7/bin/arm-linux-androideabi-g++
-mcpu=cortex-a9 -mthumb -Os -o agc2_amr_wb.o -c agc2_amr_wb.i 
/tmp/ccBg0Qr8.s: Assembler messages:
/tmp/ccBg0Qr8.s:110: Error: branch out of range

The problem disappears when taking out -mcpu=cortex-a9 or replacing -Os with
any other optimization level.

Reproducable with arm-linux-androideabi, arm-eabi and arm-linux-gnueabi
compilers.


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

end of thread, other threads:[~2012-06-08  8:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-17 10:32 [Bug target/52294] New: [4.7 Regression] [ARM Thumb] generated asm code produces "branch out of range" error in gas with -Os -mcpu=cortex-a9 bero at arklinux dot org
2012-02-17 10:51 ` [Bug target/52294] " mikpe at it dot uu.se
2012-02-17 23:23 ` steven at gcc dot gnu.org
2012-02-18  0:00 ` rearnsha at gcc dot gnu.org
2012-02-18 12:32 ` steven at gcc dot gnu.org
2012-02-18 12:46 ` steven at gcc dot gnu.org
2012-02-18 12:47 ` steven at gcc dot gnu.org
2012-02-18 13:24 ` steven at gcc dot gnu.org
2012-02-18 15:34 ` rearnsha at gcc dot gnu.org
2012-02-20 12:31 ` rguenth at gcc dot gnu.org
2012-02-21 15:53 ` rearnsha at gcc dot gnu.org
2012-02-21 23:47 ` rearnsha at gcc dot gnu.org
2012-02-22  0:05 ` rearnsha at gcc dot gnu.org
2012-02-22  1:39 ` rearnsha at gcc dot gnu.org
2012-06-08  8:58 ` jye2 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).