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

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).