Thank you for the bug report. I've confirmed this with gcc-
linaro-4.6-2012.01 on ARM:

asa-san@ursa4:~/bugs/mp$ 
/scratch/asa-san/cbuild/slaves/ursa4/gcc-linaro-4.6-2012.01/gcc-binary/bin/gcc 
-c -o mp.o mp.c -O3 -funroll-loops
/tmp/ccv0lfQ5.s: Assembler messages:
/tmp/ccv0lfQ5.s:116: Error: branch out of range
/tmp/ccv0lfQ5.s:343: Error: branch out of range


The work around is to compiler at -O1 or to remove the -funroll-loops flag.

The fault does not exist in FSF gcc-4.5.3 or gcc-4.6.2
Neither does it exist on gcc-linaro-4.5-2012.01.

The fault exists in gcc 4.7 (r183205).
The fault was introduced in gcc-linaro-4.6-2011.09.


I've set it to low priority as it is a ftbfs, there is a work-around,
and the fault exists upstream. 

** Changed in: gcc-linaro
       Status: New => Triaged

** Changed in: gcc-linaro
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/926855

Title:
  [ARMhf] gcc produces assembler it can't compile

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc-linaro/+bug/926855/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to