public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "lucier at math dot purdue dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/13926] New: GCC generates jumps that are too large to fit in word displacement field
Date: Fri, 30 Jan 2004 04:07:00 -0000	[thread overview]
Message-ID: <20040130040702.13926.lucier@math.purdue.edu> (raw)

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


             reply	other threads:[~2004-01-30  4:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-30  4:07 lucier at math dot purdue dot edu [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040130040702.13926.lucier@math.purdue.edu \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).