public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel [not found] <bug-40523-4@http.gcc.gnu.org/bugzilla/> @ 2011-04-28 16:37 ` rguenth at gcc dot gnu.org 2013-08-05 20:40 ` ramana at gcc dot gnu.org 2013-08-06 8:33 ` rearnsha at gcc dot gnu.org 2 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-04-28 16:37 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40523 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.3.6 |--- ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel [not found] <bug-40523-4@http.gcc.gnu.org/bugzilla/> 2011-04-28 16:37 ` [Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel rguenth at gcc dot gnu.org @ 2013-08-05 20:40 ` ramana at gcc dot gnu.org 2013-08-06 8:33 ` rearnsha at gcc dot gnu.org 2 siblings, 0 replies; 8+ messages in thread From: ramana at gcc dot gnu.org @ 2013-08-05 20:40 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40523 Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |ramana at gcc dot gnu.org Known to work| | Resolution|--- |WONTFIX Target Milestone|--- |4.4.0 --- Comment #4 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> --- 4.3 is no longer interesting and this is fixed on 4.4.0 onwards. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel [not found] <bug-40523-4@http.gcc.gnu.org/bugzilla/> 2011-04-28 16:37 ` [Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel rguenth at gcc dot gnu.org 2013-08-05 20:40 ` ramana at gcc dot gnu.org @ 2013-08-06 8:33 ` rearnsha at gcc dot gnu.org 2 siblings, 0 replies; 8+ messages in thread From: rearnsha at gcc dot gnu.org @ 2013-08-06 8:33 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40523 Richard Earnshaw <rearnsha at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WONTFIX |FIXED --- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- It was fixed in 4.4.0, just not in 4.3. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/40523] New: GCC generates invalid instructions when building for Thumb-2 on armel @ 2009-06-22 23:21 doko at ubuntu dot com 2009-06-22 23:24 ` [Bug target/40523] " doko at ubuntu dot com ` (4 more replies) 0 siblings, 5 replies; 8+ messages in thread From: doko at ubuntu dot com @ 2009-06-22 23:21 UTC (permalink / raw) To: gcc-bugs [ forwarded from https://launchpad.net/+bugs/347864 ] seen on the 4.3 branch, fixed in 4.4 and trunk. When building for the Thumb-2 instruction set, GCC appears to generate Thumb2 loads and stores with invalid address offsets and base register writeback. The Thumb-2 instruction set does not support the full offset range for these instructions, causing the assembler to fail. The failure is observed as follows: g++ -march=armv7 -mthumb -O2 -c asbug.c++ /tmp/ccrSTYGR.s:525: Error: offset out of range Line 545 of the generated assembler is: ldr r2, [sl, #264]! However, the allowed offset range for this instruction is restricted to be <256. -- Summary: GCC generates invalid instructions when building for Thumb-2 on armel Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: doko at ubuntu dot com GCC target triplet: arm-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40523 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel 2009-06-22 23:21 [Bug target/40523] New: " doko at ubuntu dot com @ 2009-06-22 23:24 ` doko at ubuntu dot com 2009-06-22 23:30 ` rearnsha at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 8+ messages in thread From: doko at ubuntu dot com @ 2009-06-22 23:24 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from doko at ubuntu dot com 2009-06-22 23:24 ------- Created an attachment (id=18050) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18050&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40523 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel 2009-06-22 23:21 [Bug target/40523] New: " doko at ubuntu dot com 2009-06-22 23:24 ` [Bug target/40523] " doko at ubuntu dot com @ 2009-06-22 23:30 ` rearnsha at gcc dot gnu dot org 2009-07-09 19:03 ` mikpe at it dot uu dot se ` (2 subsequent siblings) 4 siblings, 0 replies; 8+ messages in thread From: rearnsha at gcc dot gnu dot org @ 2009-06-22 23:30 UTC (permalink / raw) To: gcc-bugs -- rearnsha at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rearnsha at gcc dot gnu dot | |org AssignedTo|unassigned at gcc dot gnu |rearnsha at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-06-22 23:30:49 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40523 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel 2009-06-22 23:21 [Bug target/40523] New: " doko at ubuntu dot com 2009-06-22 23:24 ` [Bug target/40523] " doko at ubuntu dot com 2009-06-22 23:30 ` rearnsha at gcc dot gnu dot org @ 2009-07-09 19:03 ` mikpe at it dot uu dot se 2010-03-20 19:29 ` ramana at gcc dot gnu dot org 2010-05-22 19:01 ` rguenth at gcc dot gnu dot org 4 siblings, 0 replies; 8+ messages in thread From: mikpe at it dot uu dot se @ 2009-07-09 19:03 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from mikpe at it dot uu dot se 2009-07-09 19:03 ------- This was fixed for 4.4.0 by Richard's r143339. I backported that to 4.3.4 and it built ok and fixed this test case. My boxes are ARMv5TE so I cannot run the generated thumb2 code however. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40523 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel 2009-06-22 23:21 [Bug target/40523] New: " doko at ubuntu dot com ` (2 preceding siblings ...) 2009-07-09 19:03 ` mikpe at it dot uu dot se @ 2010-03-20 19:29 ` ramana at gcc dot gnu dot org 2010-05-22 19:01 ` rguenth at gcc dot gnu dot org 4 siblings, 0 replies; 8+ messages in thread From: ramana at gcc dot gnu dot org @ 2010-03-20 19:29 UTC (permalink / raw) To: gcc-bugs -- ramana at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40523 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel 2009-06-22 23:21 [Bug target/40523] New: " doko at ubuntu dot com ` (3 preceding siblings ...) 2010-03-20 19:29 ` ramana at gcc dot gnu dot org @ 2010-05-22 19:01 ` rguenth at gcc dot gnu dot org 4 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu dot org @ 2010-05-22 19:01 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from rguenth at gcc dot gnu dot org 2010-05-22 18:13 ------- GCC 4.3.5 is being released, adjusting target milestone. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.3.5 |4.3.6 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40523 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-08-06 8:33 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-40523-4@http.gcc.gnu.org/bugzilla/> 2011-04-28 16:37 ` [Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel rguenth at gcc dot gnu.org 2013-08-05 20:40 ` ramana at gcc dot gnu.org 2013-08-06 8:33 ` rearnsha at gcc dot gnu.org 2009-06-22 23:21 [Bug target/40523] New: " doko at ubuntu dot com 2009-06-22 23:24 ` [Bug target/40523] " doko at ubuntu dot com 2009-06-22 23:30 ` rearnsha at gcc dot gnu dot org 2009-07-09 19:03 ` mikpe at it dot uu dot se 2010-03-20 19:29 ` ramana at gcc dot gnu dot org 2010-05-22 19:01 ` rguenth 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).