public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/61208] New: armhf: generated asm code produces "branch out of range" error in gas with -Os
@ 2014-05-17 1:19 mh+gcc at glandium dot org
2014-05-17 1:21 ` [Bug target/61208] " mh+gcc at glandium dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: mh+gcc at glandium dot org @ 2014-05-17 1:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61208
Bug ID: 61208
Summary: armhf: generated asm code produces "branch out of
range" error in gas with -Os
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: mh+gcc at glandium dot org
Created attachment 32811
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32811&action=edit
Preprocessed source (compressed)
On Debian unstable, with debian gcc 4.8.2-21, the attached preprocessed source
fails to build with:
/tmp/cc9VIAtd.s: Assembler messages:
/tmp/cc9VIAtd.s:827: Error: branch out of range
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/61208] armhf: generated asm code produces "branch out of range" error in gas with -Os
2014-05-17 1:19 [Bug target/61208] New: armhf: generated asm code produces "branch out of range" error in gas with -Os mh+gcc at glandium dot org
@ 2014-05-17 1:21 ` mh+gcc at glandium dot org
2014-05-17 23:44 ` mh+gcc at glandium dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mh+gcc at glandium dot org @ 2014-05-17 1:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61208
--- Comment #1 from Mike Hommey <mh+gcc at glandium dot org> ---
Created attachment 32812
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32812&action=edit
Corresponding assembly (compressed)
This is the assembly I got with the full normal command line. But I can
reproduce with the following command line:
g++ -o CertVerifier.o -c CertVerifier.ii -Os -std=gnu++0x
The problematic line is a cbz call, and i guess the label ends up at more than
130 bytes from the call.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/61208] armhf: generated asm code produces "branch out of range" error in gas with -Os
2014-05-17 1:19 [Bug target/61208] New: armhf: generated asm code produces "branch out of range" error in gas with -Os mh+gcc at glandium dot org
2014-05-17 1:21 ` [Bug target/61208] " mh+gcc at glandium dot org
@ 2014-05-17 23:44 ` mh+gcc at glandium dot org
2014-05-20 19:13 ` rearnsha at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mh+gcc at glandium dot org @ 2014-05-17 23:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61208
--- Comment #2 from Mike Hommey <mh+gcc at glandium dot org> ---
This doesn't happen with gcc 4.9.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/61208] armhf: generated asm code produces "branch out of range" error in gas with -Os
2014-05-17 1:19 [Bug target/61208] New: armhf: generated asm code produces "branch out of range" error in gas with -Os mh+gcc at glandium dot org
2014-05-17 1:21 ` [Bug target/61208] " mh+gcc at glandium dot org
2014-05-17 23:44 ` mh+gcc at glandium dot org
@ 2014-05-20 19:13 ` rearnsha at gcc dot gnu.org
2014-05-22 15:39 ` rearnsha at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2014-05-20 19:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61208
--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Patch pending review:
https://gcc.gnu.org/ml/gcc-patches/2014-05/msg01638.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/61208] armhf: generated asm code produces "branch out of range" error in gas with -Os
2014-05-17 1:19 [Bug target/61208] New: armhf: generated asm code produces "branch out of range" error in gas with -Os mh+gcc at glandium dot org
` (2 preceding siblings ...)
2014-05-20 19:13 ` rearnsha at gcc dot gnu.org
@ 2014-05-22 15:39 ` rearnsha at gcc dot gnu.org
2014-05-22 15:40 ` rearnsha at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2014-05-22 15:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61208
--- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Author: rearnsha
Date: Thu May 22 15:38:51 2014
New Revision: 210812
URL: http://gcc.gnu.org/viewcvs?rev=210812&root=gcc&view=rev
Log:
PR target/61208
* arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm.md
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/61208] armhf: generated asm code produces "branch out of range" error in gas with -Os
2014-05-17 1:19 [Bug target/61208] New: armhf: generated asm code produces "branch out of range" error in gas with -Os mh+gcc at glandium dot org
` (3 preceding siblings ...)
2014-05-22 15:39 ` rearnsha at gcc dot gnu.org
@ 2014-05-22 15:40 ` rearnsha at gcc dot gnu.org
2014-05-22 15:55 ` rearnsha at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2014-05-22 15:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61208
--- Comment #6 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Author: rearnsha
Date: Thu May 22 15:39:46 2014
New Revision: 210813
URL: http://gcc.gnu.org/viewcvs?rev=210813&root=gcc&view=rev
Log:
PR target/61208
* arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2.
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/config/arm/arm.md
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/61208] armhf: generated asm code produces "branch out of range" error in gas with -Os
2014-05-17 1:19 [Bug target/61208] New: armhf: generated asm code produces "branch out of range" error in gas with -Os mh+gcc at glandium dot org
` (4 preceding siblings ...)
2014-05-22 15:40 ` rearnsha at gcc dot gnu.org
@ 2014-05-22 15:55 ` rearnsha at gcc dot gnu.org
2014-05-22 15:57 ` rearnsha at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2014-05-22 15:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61208
--- Comment #7 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Author: rearnsha
Date: Thu May 22 15:54:28 2014
New Revision: 210814
URL: http://gcc.gnu.org/viewcvs?rev=210814&root=gcc&view=rev
Log:
PR target/61208
* arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2.
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/config/arm/arm.md
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/61208] armhf: generated asm code produces "branch out of range" error in gas with -Os
2014-05-17 1:19 [Bug target/61208] New: armhf: generated asm code produces "branch out of range" error in gas with -Os mh+gcc at glandium dot org
` (5 preceding siblings ...)
2014-05-22 15:55 ` rearnsha at gcc dot gnu.org
@ 2014-05-22 15:57 ` rearnsha at gcc dot gnu.org
2014-05-22 15:58 ` rearnsha at gcc dot gnu.org
2014-05-23 14:41 ` rearnsha at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2014-05-22 15:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61208
--- Comment #8 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Author: rearnsha
Date: Thu May 22 15:56:34 2014
New Revision: 210816
URL: http://gcc.gnu.org/viewcvs?rev=210816&root=gcc&view=rev
Log:
PR target/61208
* arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2.
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/config/arm/arm.md
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/61208] armhf: generated asm code produces "branch out of range" error in gas with -Os
2014-05-17 1:19 [Bug target/61208] New: armhf: generated asm code produces "branch out of range" error in gas with -Os mh+gcc at glandium dot org
` (6 preceding siblings ...)
2014-05-22 15:57 ` rearnsha at gcc dot gnu.org
@ 2014-05-22 15:58 ` rearnsha at gcc dot gnu.org
2014-05-23 14:41 ` rearnsha at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2014-05-22 15:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61208
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Fixed on all active branches.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/61208] armhf: generated asm code produces "branch out of range" error in gas with -Os
2014-05-17 1:19 [Bug target/61208] New: armhf: generated asm code produces "branch out of range" error in gas with -Os mh+gcc at glandium dot org
` (7 preceding siblings ...)
2014-05-22 15:58 ` rearnsha at gcc dot gnu.org
@ 2014-05-23 14:41 ` rearnsha at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2014-05-23 14:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61208
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.8.4
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2014-05-23 14:41 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-17 1:19 [Bug target/61208] New: armhf: generated asm code produces "branch out of range" error in gas with -Os mh+gcc at glandium dot org
2014-05-17 1:21 ` [Bug target/61208] " mh+gcc at glandium dot org
2014-05-17 23:44 ` mh+gcc at glandium dot org
2014-05-20 19:13 ` rearnsha at gcc dot gnu.org
2014-05-22 15:39 ` rearnsha at gcc dot gnu.org
2014-05-22 15:40 ` rearnsha at gcc dot gnu.org
2014-05-22 15:55 ` rearnsha at gcc dot gnu.org
2014-05-22 15:57 ` rearnsha at gcc dot gnu.org
2014-05-22 15:58 ` rearnsha at gcc dot gnu.org
2014-05-23 14:41 ` rearnsha at gcc dot gnu.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).