When compiling the test program 

arm-none-linux-gnueabi-gcc -march=armv7-a -O2 -c -o ltest.o ltest.i

Assembler fails to assemble it and emits the error 

Error: offset too big

If I do not use -march=armv7-a it works ok and also if I dont use O2 it
compiles fine.


-- 
           Summary: Gas fails to consume the assembly Error: offset too big
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: raj dot khem at gmail dot com
 GCC build triplet: x86_64-linux
  GCC host triplet: x86_64-linux
GCC target triplet: arm-none-linux-gnueabi


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

Reply via email to