public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: piilonen@vt.edu
To: gcc-gnats@gcc.gnu.org
Subject: optimization/6408: -O3 causes out-of-range relative reference in assembler
Date: Mon, 22 Apr 2002 09:26:00 -0000 [thread overview]
Message-ID: <200204221619.MAA16958@epsilon.phys.vt.edu> (raw)
>Number: 6408
>Category: optimization
>Synopsis: -O3 causes out-of-range relative reference in assembler
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Mon Apr 22 09:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Leo Piilonen
>Release: 3.0
>Organization:
Dept of Physics, Virginia Tech
>Environment:
System: SunOS epsilon.phys.vt.edu 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4
host: sparc-sun-solaris2.8
build: sparc-sun-solaris2.8
target: sparc-sun-solaris2.8
configured with: ../configure
>Description:
on stack return after a function call, stack pointer (?) register %o7
is cleaned up with the following line in the assembler code:
add %o7, (.LL8312-.-4), %o7
when compiled with optimization -O3. The constant happens to be
outside the legal range of -4096 to +4095, so the assembler croaks.
>How-To-Repeat:
>Fix:
compile with -O2
>Release-Note:
>Audit-Trail:
>Unformatted:
Severity: serious
next reply other threads:[~2002-04-22 16:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-22 9:26 piilonen [this message]
2002-12-06 16:10 bangerth
2002-12-09 12:26 bangerth
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=200204221619.MAA16958@epsilon.phys.vt.edu \
--to=piilonen@vt.edu \
--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).