public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/44603] New: out of range branch generated in thumb code. @ 2010-06-20 22:01 raj dot khem at gmail dot com 2010-06-20 22:02 ` [Bug target/44603] " raj dot khem at gmail dot com ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: raj dot khem at gmail dot com @ 2010-06-20 22:01 UTC (permalink / raw) To: gcc-bugs 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/44603] out of range branch generated in thumb code. 2010-06-20 22:01 [Bug target/44603] New: out of range branch generated in thumb code raj dot khem at gmail dot com @ 2010-06-20 22:02 ` raj dot khem at gmail dot com 2010-06-21 9:47 ` mikpe at it dot uu dot se ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: raj dot khem at gmail dot com @ 2010-06-20 22:02 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from raj dot khem at gmail dot com 2010-06-20 22:01 ------- Created an attachment (id=20949) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20949&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44603 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/44603] out of range branch generated in thumb code. 2010-06-20 22:01 [Bug target/44603] New: out of range branch generated in thumb code raj dot khem at gmail dot com 2010-06-20 22:02 ` [Bug target/44603] " raj dot khem at gmail dot com @ 2010-06-21 9:47 ` mikpe at it dot uu dot se 2010-06-21 10:09 ` mikpe at it dot uu dot se ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: mikpe at it dot uu dot se @ 2010-06-21 9:47 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from mikpe at it dot uu dot se 2010-06-21 09:47 ------- Seen also with 4.6 and 4.5 arm-unknown-linux-gnueabi toolchains at -O0, 4.4 and 4.3 don't trigger it. I'm pretty sure I've seen another thumb out of range branch PR not too long ago. -- mikpe at it dot uu dot se changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpe at it dot uu dot se http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44603 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/44603] out of range branch generated in thumb code. 2010-06-20 22:01 [Bug target/44603] New: out of range branch generated in thumb code raj dot khem at gmail dot com 2010-06-20 22:02 ` [Bug target/44603] " raj dot khem at gmail dot com 2010-06-21 9:47 ` mikpe at it dot uu dot se @ 2010-06-21 10:09 ` mikpe at it dot uu dot se 2010-06-21 17:45 ` raj dot khem at gmail dot com 2010-07-03 0:21 ` ramana at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: mikpe at it dot uu dot se @ 2010-06-21 10:09 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from mikpe at it dot uu dot se 2010-06-21 10:09 ------- Dupe of PR43961? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44603 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/44603] out of range branch generated in thumb code. 2010-06-20 22:01 [Bug target/44603] New: out of range branch generated in thumb code raj dot khem at gmail dot com ` (2 preceding siblings ...) 2010-06-21 10:09 ` mikpe at it dot uu dot se @ 2010-06-21 17:45 ` raj dot khem at gmail dot com 2010-07-03 0:21 ` ramana at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: raj dot khem at gmail dot com @ 2010-06-21 17:45 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from raj dot khem at gmail dot com 2010-06-21 17:45 ------- (In reply to comment #3) > Dupe of PR43961? > yes seems so. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44603 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/44603] out of range branch generated in thumb code. 2010-06-20 22:01 [Bug target/44603] New: out of range branch generated in thumb code raj dot khem at gmail dot com ` (3 preceding siblings ...) 2010-06-21 17:45 ` raj dot khem at gmail dot com @ 2010-07-03 0:21 ` ramana at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: ramana at gcc dot gnu dot org @ 2010-07-03 0:21 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from ramana at gcc dot gnu dot org 2010-07-03 00:21 ------- *** This bug has been marked as a duplicate of 43961 *** -- ramana at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44603 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-07-03 0:21 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-06-20 22:01 [Bug target/44603] New: out of range branch generated in thumb code raj dot khem at gmail dot com 2010-06-20 22:02 ` [Bug target/44603] " raj dot khem at gmail dot com 2010-06-21 9:47 ` mikpe at it dot uu dot se 2010-06-21 10:09 ` mikpe at it dot uu dot se 2010-06-21 17:45 ` raj dot khem at gmail dot com 2010-07-03 0:21 ` ramana at gcc dot gnu dot 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).