[Bug target/44603] New: out of range branch generated in thumb code.
raj dot khem at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Jun 20 22:01:00 GMT 2010
attached example fails to compile when no -O<n> is used.
$ arm-oe-linux-uclibceabi-gcc -mthumb -fPIC a.i -c
/tmp/cc1iMNtS.s: Assembler messages:
/tmp/cc1iMNtS.s:4814: Error: branch out of range
If -O1 or any other -O optlevel is used then it works fine.
--
Summary: out of range branch generated in thumb code.
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
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-oe-linux-uclibceabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44603
More information about the Gcc-bugs
mailing list