public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: rschiele@uni-mannheim.de
To: gcc-gnats@gcc.gnu.org
Subject: c++/5964: g++ generates code that results in "word displacement will not fit in 16 bits" on sparcv9
Date: Thu, 14 Mar 2002 07:06:00 -0000	[thread overview]
Message-ID: <20020314145727.18104.qmail@sources.redhat.com> (raw)


>Number:         5964
>Category:       c++
>Synopsis:       g++ generates code that results in "word displacement will not fit in 16 bits" on sparcv9
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 14 07:06:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Robert Schiele
>Release:        3.1 20020314 (prerelease)
>Organization:
>Environment:
System: SunOS avatar 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4
host: sparcv9-sun-solaris2.8
build: sparcv9-sun-solaris2.8
target: sparcv9-sun-solaris2.8
configured with: ../../gcc/configure --enable-threads=posix --enable-long-long --prefix=/opt/Pkg/SunOS/gcc31_64 --enable-languages=c,c++,f77,objc,java --disable-nls --enable-shared sparcv9-sun-solaris2.8
>Description:
When you have a label somewhere, followed with very much code followed by a delete statement followed by a goto label, where label is the one from before, code is generated that contains condtional jumps that are too far away to be assembled.
>How-To-Repeat:
As preprocessor output would be extremely long and I do not use #includes, I will attach just the cc file.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="reprod.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="reprod.cc"

I2RlZmluZSBtYWtlY29kZSBmb3IgKGludCBpID0gMTsgaSA8IDEwMDA7ICsraSkgaSAqPSAzCiNk
ZWZpbmUgbXVjaGNvZGUgXAogICAgICAgIG1ha2Vjb2RlOyBtYWtlY29kZTsgbWFrZWNvZGU7IG1h
a2Vjb2RlOyBtYWtlY29kZTsgbWFrZWNvZGU7IFwKICAgICAgICB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AgICAgIG11Y2hjb2RlOyBtdWNoY29kZTsgbXVjaGNv
ZGU7IG11Y2hjb2RlOyBtdWNoY29kZTsgbXVjaGNvZGU7IFwKICAgICAgICBtdWNoY29kZTsgbXVj
aGNvZGU7IG11Y2hjb2RlOyBtdWNoY29kZTsgbXVjaGNvZGU7IG11Y2hjb2RlOyBcCiAgICAgICAg
bXVjaGNvZGU7IG11Y2hjb2RlOyBtdWNoY29kZTsgbXVjaGNvZGU7IG11Y2hjb2RlOyBtdWNoY29k
ZTsgXAogICAgICAgIG11Y2hjb2RlOyBtdWNoY29kZTsgbXVjaGNvZGU7IG11Y2hjb2RlOyBtdWNo
Y29kZTsgbXVjaGNvZGU7IFwKICAgICAgICBtdWNoY29kZTsgbXVjaGNvZGU7IG11Y2hjb2RlOyBt
dWNoY29kZTsgbXVjaGNvZGU7IG11Y2hjb2RlCgppbnQgbWFpbihpbnQgYXJnYywgY2hhcioqIGFy
Z3YpIHsKIGxvb3A6CiAgICB2ZXJ5bXVjaGNvZGU7CiAgICBkZWxldGVbXSBhcmd2OwogICAgZ290
byBsb29wOwp9Cg==


             reply	other threads:[~2002-03-14 15:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14  7:06 rschiele [this message]
2002-03-29  8:08 jakub

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=20020314145727.18104.qmail@sources.redhat.com \
    --to=rschiele@uni-mannheim.de \
    --cc=gcc-gnats@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).