public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/2556: gcc (3 CVS branch) SPARC, produces code with a nonexisting label
@ 2002-04-02  0:29 rth
  0 siblings, 0 replies; 2+ messages in thread
From: rth @ 2002-04-02  0:29 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gcc, nobody

Synopsis: gcc (3 CVS branch) SPARC, produces code with a nonexisting label

State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Tue Apr  2 00:29:19 2002
State-Changed-Why:
    Fixed for gcc 3.1.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2556


^ permalink raw reply	[flat|nested] 2+ messages in thread

* optimization/2556: gcc (3 CVS branch) SPARC, produces code with a nonexisting label
@ 2001-04-15  9:56 gcc
  0 siblings, 0 replies; 2+ messages in thread
From: gcc @ 2001-04-15  9:56 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2556
>Category:       optimization
>Synopsis:       gcc (3 CVS branch) SPARC, produces code with a nonexisting label
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 15 09:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dave Gilbert
>Release:        GCC: (GNU) 3.0 20010407 (prerelease)
>Organization:
>Environment:
Linux/SPARC
>Description:
The following code produces assembly output with the following
line in, but with no label LL9 defined:

	sethi	%hi(_GLOBAL_OFFSET_TABLE_-(.LL9-.)), %g2

(The code is from the XFree source distribution, it has
been preprocessed and reduced as far as it will go while
still producing the error.  Removing the -O2 or the -fPIC
stops it failing)
>How-To-Repeat:
gcc -c -O2 -fPIC Paned_hack.i -S
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="Paned_hack.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Paned_hack.i"

c3RydWN0IGR1bW15IHsKICBpbnQgeF9yb290OwogIGludCB5X3Jvb3Q7Cn07CnR5cGVkZWYgdW5p
b24gX1hFdmVudCB7CiAgICAgICAgaW50IHR5cGU7CiAgICAgICAgc3RydWN0IGR1bW15IHhidXR0
b247Cn0gWEV2ZW50Owp0eXBlZGVmIHN0cnVjdCBfUGFuZWRSZWMgKlBhbmVkV2lkZ2V0OwpzdGF0
aWMgaW50CkdldEV2ZW50TG9jYXRpb24oUGFuZWRXaWRnZXQgcHcsIFhFdmVudCAqZXZlbnQpCnsK
ICAgIGludCB4LCB5OwoKICAgIHN3aXRjaCAoZXZlbnQtPnR5cGUpIHsKICAgICAgICBjYXNlIDQ6
CiAgICAgICAgY2FzZSA1OgogICAgICAgICAgICB4ID0gZXZlbnQtPnhidXR0b24ueF9yb290Owog
ICAgICAgICAgICB5ID0gZXZlbnQtPnhidXR0b24ueV9yb290OwogICAgICAgICAgICBicmVhazsK
ICAgICAgICBjYXNlIDI6CiAgICAgICAgY2FzZSAzOgogICAgICAgICAgICB4ID0gZXZlbnQtPnhi
dXR0b24ueF9yb290OwogICAgICAgICAgICB5ID0gZXZlbnQtPnhidXR0b24ueV9yb290OwogICAg
ICAgICAgICBicmVhazsKICAgICAgICBjYXNlIDY6CiAgICAgICAgICAgIHggPSBldmVudC0+eGJ1
dHRvbi54X3Jvb3Q7CiAgICAgICAgICAgIHkgPSBldmVudC0+eGJ1dHRvbi55X3Jvb3Q7CiAgICAg
ICAgICAgIGJyZWFrOwogICAgfQogICAgaWYgKChwdykpCiAgICAgICAgcmV0dXJuICh5KTsKICBy
ZXR1cm4gKHgpOwp9Cg==


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-02  8:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-02  0:29 optimization/2556: gcc (3 CVS branch) SPARC, produces code with a nonexisting label rth
  -- strict thread matches above, loose matches on Subject: below --
2001-04-15  9:56 gcc

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