public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/10536: [3.3/3.4 regression] Linux kernel miscompiled on s390
@ 2003-04-29 13:16 uweigand
  0 siblings, 0 replies; 2+ messages in thread
From: uweigand @ 2003-04-29 13:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10536
>Category:       optimization
>Synopsis:       [3.3/3.4 regression] Linux kernel miscompiled on s390
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 29 13:16:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     uweigand@de.ibm.com
>Release:        gcc 3.3, head
>Organization:
>Environment:
s390-ibm-linux / s390x-ibm-linux
>Description:
In the following test case:

extern int global_var;
void test (void)
{
   int x = global_var;
   asm volatile ("" : "+d" (x));
}

the instruction to load 'global_var' into a register
is erroneously omitted.  This causes incorrect code
to be generated for the Linux kernel on s390.

This is a regression over 3.2, introduced by this patch:
http://gcc.gnu.org/ml/gcc-patches/2003-03/msg01070.html
>How-To-Repeat:
Compile the test case shown above, and verify whether
the resulting assembler code references 'global_var'.
>Fix:
Either revert
http://gcc.gnu.org/ml/gcc-patches/2003-03/msg01070.html
or add the fix
http://gcc.gnu.org/ml/gcc-patches/2003-04/msg01318.html
>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: optimization/10536: [3.3/3.4 regression] Linux kernel miscompiled on s390
@ 2003-04-29 13:17 uweigand
  0 siblings, 0 replies; 2+ messages in thread
From: uweigand @ 2003-04-29 13:17 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, uweigand

Synopsis: [3.3/3.4 regression] Linux kernel miscompiled on s390

State-Changed-From-To: open->analyzed
State-Changed-By: uweigand
State-Changed-When: Tue Apr 29 13:17:21 2003
State-Changed-Why:
    see below

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


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

end of thread, other threads:[~2003-04-29 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-29 13:16 optimization/10536: [3.3/3.4 regression] Linux kernel miscompiled on s390 uweigand
2003-04-29 13:17 uweigand

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