public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field
@ 2004-01-30 4:07 lucier at math dot purdue dot edu
2004-01-30 5:10 ` [Bug target/13926] " ebotcazou at gcc dot gnu dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: lucier at math dot purdue dot edu @ 2004-01-30 4:07 UTC (permalink / raw)
To: gcc-bugs
This is reported against 3.3.1 since that's what I have readily available now,
but I believe it also occurs in 3.4 and mainline.
With the following file:
http://www.math.purdue.edu/~lucier/bugzilla/5/_meroon.i.gz
while trying to instrument it using gcov, I get the following error:
banach-2% gcc -I/export/mdd0/users/lucier/local/gambit/include -m64 -fPIC -O0 -f
no-math-errno -fno-trapping-math -mtune=ultrasparc -c -D___DYNAMIC -D___SINGLE_H
OST -D___OPTIMIZE_SPACE -ftest-coverage -fprofile-arcs -save-temps _meroon.c
/usr/ccs/bin/as: "_meroon.s", line 450662: error: word displacement will not fit
in 19 bits
/usr/ccs/bin/as: "_meroon.s", line 35282: error: word displacement will not fit
in 19 bits
/usr/ccs/bin/as: "_meroon.s", line 35341: error: word displacement will not fit
in 19 bits
/usr/ccs/bin/as: "_meroon.s", line 35391: error: word displacement will not fit
in 19 bits
/usr/ccs/bin/as: "_meroon.s", line 35416: error: word displacement will not fit
in 19 bits
/usr/ccs/bin/as: "_meroon.s", line 35466: error: word displacement will not fit
in 19 bits
<repeated a few thousand times>
Basically, gcc on sparc64 generates predicated jumps over 2MB instead of using
an indirect jump.
(Perhaps this is the largest function ever occuring in a bugzilla report ;-)
Brad
--
Summary: GCC generates jumps that are too large to fit in word
displacement field
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lucier at math dot purdue dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13926
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/13926] GCC generates jumps that are too large to fit in word displacement field
2004-01-30 4:07 [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field lucier at math dot purdue dot edu
@ 2004-01-30 5:10 ` ebotcazou at gcc dot gnu dot org
2004-01-30 11:15 ` ebotcazou at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-30 5:10 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13926
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/13926] GCC generates jumps that are too large to fit in word displacement field
2004-01-30 4:07 [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field lucier at math dot purdue dot edu
2004-01-30 5:10 ` [Bug target/13926] " ebotcazou at gcc dot gnu dot org
@ 2004-01-30 11:15 ` ebotcazou at gcc dot gnu dot org
2004-04-08 12:36 ` ebotcazou at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-01-30 11:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-01-30 11:15 -------
Confirmed in GCC 3.3.2. The compilation doesn't terminate with GCC 3.3.3pre and
3.4pre (at least before 20 minutes). Not sure whether this has something to do
with --enable-checking...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-01-30 11:15:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13926
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/13926] GCC generates jumps that are too large to fit in word displacement field
2004-01-30 4:07 [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field lucier at math dot purdue dot edu
2004-01-30 5:10 ` [Bug target/13926] " ebotcazou at gcc dot gnu dot org
2004-01-30 11:15 ` ebotcazou at gcc dot gnu dot org
@ 2004-04-08 12:36 ` ebotcazou at gcc dot gnu dot org
2004-07-12 7:58 ` ebotcazou at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-04-08 12:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-04-08 12:36 -------
Confirmed with GCC 3.4.0pre. The compilation terminates quickly when the
compiler is configured with --disable-checking.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-01-30 11:15:31 |2004-04-08 12:36:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13926
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/13926] GCC generates jumps that are too large to fit in word displacement field
2004-01-30 4:07 [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field lucier at math dot purdue dot edu
` (3 preceding siblings ...)
2004-07-12 7:58 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-12 7:58 ` ebotcazou at gcc dot gnu dot org
2004-07-13 13:14 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-12 7:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-07-12 07:58 -------
Still present as of GCC 3.4.1 release.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-04-08 12:36:18 |2004-07-12 07:58:05
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13926
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/13926] GCC generates jumps that are too large to fit in word displacement field
2004-01-30 4:07 [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field lucier at math dot purdue dot edu
` (2 preceding siblings ...)
2004-04-08 12:36 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-12 7:58 ` ebotcazou at gcc dot gnu dot org
2004-07-12 7:58 ` ebotcazou at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-12 7:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-07-12 07:58 -------
Investigating.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13926
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/13926] GCC generates jumps that are too large to fit in word displacement field
2004-01-30 4:07 [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field lucier at math dot purdue dot edu
` (4 preceding siblings ...)
2004-07-12 7:58 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-13 13:14 ` cvs-commit at gcc dot gnu dot org
2004-07-14 9:27 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-13 13:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-13 13:14 -------
Subject: Bug 13926
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ebotcazou@gcc.gnu.org 2004-07-13 13:14:07
Modified files:
gcc : ChangeLog
gcc/config/sparc: sparc-protos.h sparc.c sparc.md
Log message:
PR target/13926
* config/sparc/sparc-protos.h (output_ubranch): New prototype.
* config/sparc/sparc.c (output_ubranch): New function.
* config/sparc/sparc.md (jump pattern): Use it.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4504&r2=2.4505
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc-protos.h.diff?cvsroot=gcc&r1=1.45&r2=1.46
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.c.diff?cvsroot=gcc&r1=1.320&r2=1.321
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.md.diff?cvsroot=gcc&r1=1.212&r2=1.213
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13926
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/13926] GCC generates jumps that are too large to fit in word displacement field
2004-01-30 4:07 [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field lucier at math dot purdue dot edu
` (5 preceding siblings ...)
2004-07-13 13:14 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-14 9:27 ` cvs-commit at gcc dot gnu dot org
2004-07-17 19:49 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-14 9:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-14 09:27 -------
Subject: Bug 13926
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: ebotcazou@gcc.gnu.org 2004-07-14 09:27:10
Modified files:
gcc : ChangeLog
gcc/config/sparc: sparc-protos.h sparc.c sparc.md
Log message:
Backport from mainline:
2004-07-13 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/13926
* config/sparc/sparc-protos.h (output_ubranch): New prototype.
* config/sparc/sparc.c (output_ubranch): New function.
* config/sparc/sparc.md (jump pattern): Use it.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.556&r2=2.2326.2.557
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.38&r2=1.38.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.271.4.18&r2=1.271.4.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.196.2.4&r2=1.196.2.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13926
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/13926] GCC generates jumps that are too large to fit in word displacement field
2004-01-30 4:07 [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field lucier at math dot purdue dot edu
` (6 preceding siblings ...)
2004-07-14 9:27 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-17 19:49 ` cvs-commit at gcc dot gnu dot org
2004-07-17 19:54 ` ebotcazou at gcc dot gnu dot org
2004-07-17 20:06 ` ebotcazou at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-17 19:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-17 19:49 -------
Subject: Bug 13926
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: ebotcazou@gcc.gnu.org 2004-07-17 19:49:22
Modified files:
gcc : ChangeLog
gcc/config/sparc: sparc-protos.h sparc.c sparc.md
Log message:
Backport from mainline:
2004-07-13 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/13926
* config/sparc/sparc-protos.h (output_ubranch): New prototype.
* config/sparc/sparc.c (output_ubranch): New function.
* config/sparc/sparc.md (jump pattern): Use it.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.1001&r2=1.16114.2.1002
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.32&r2=1.32.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.233.4.11&r2=1.233.4.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.md.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.181.4.12&r2=1.181.4.13
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13926
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/13926] GCC generates jumps that are too large to fit in word displacement field
2004-01-30 4:07 [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field lucier at math dot purdue dot edu
` (7 preceding siblings ...)
2004-07-17 19:49 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-17 19:54 ` ebotcazou at gcc dot gnu dot org
2004-07-17 20:06 ` ebotcazou at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-17 19:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-07-17 19:54 -------
See http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01337.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13926
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/13926] GCC generates jumps that are too large to fit in word displacement field
2004-01-30 4:07 [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field lucier at math dot purdue dot edu
` (8 preceding siblings ...)
2004-07-17 19:54 ` ebotcazou at gcc dot gnu dot org
@ 2004-07-17 20:06 ` ebotcazou at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-17 20:06 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13926
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-07-17 20:06 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-30 4:07 [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field lucier at math dot purdue dot edu
2004-01-30 5:10 ` [Bug target/13926] " ebotcazou at gcc dot gnu dot org
2004-01-30 11:15 ` ebotcazou at gcc dot gnu dot org
2004-04-08 12:36 ` ebotcazou at gcc dot gnu dot org
2004-07-12 7:58 ` ebotcazou at gcc dot gnu dot org
2004-07-12 7:58 ` ebotcazou at gcc dot gnu dot org
2004-07-13 13:14 ` cvs-commit at gcc dot gnu dot org
2004-07-14 9:27 ` cvs-commit at gcc dot gnu dot org
2004-07-17 19:49 ` cvs-commit at gcc dot gnu dot org
2004-07-17 19:54 ` ebotcazou at gcc dot gnu dot org
2004-07-17 20:06 ` ebotcazou 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).