public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/6981: wrong code in 64-bit manipulation on x86
@ 2002-07-26  8:26 jakub
  0 siblings, 0 replies; 5+ messages in thread
From: jakub @ 2002-07-26  8:26 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gustav, jakub, mattias, nobody

Synopsis: wrong code in 64-bit manipulation on x86

Responsible-Changed-From-To: unassigned->jakub
Responsible-Changed-By: jakub
Responsible-Changed-When: Fri Jul 26 08:26:15 2002
Responsible-Changed-Why:
    Confirmed, debugging...

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


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

* Re: target/6981: wrong code in 64-bit manipulation on x86
@ 2002-10-24 12:00 neroden
  0 siblings, 0 replies; 5+ messages in thread
From: neroden @ 2002-10-24 12:00 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gustav, jakub, mattias

Synopsis: wrong code in 64-bit manipulation on x86

State-Changed-From-To: open->closed
State-Changed-By: neroden
State-Changed-When: Thu Oct 24 12:00:18 2002
State-Changed-Why:
    Fixed on both mainline and 3.2.

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


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

* target/6981: wrong code in 64-bit manipulation on x86
@ 2002-07-25  8:06 Mattias Engdegård
  0 siblings, 0 replies; 5+ messages in thread
From: Mattias Engdegård @ 2002-07-25  8:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR target/6981; it has been noted by GNATS.

From: "=?ISO-8859-1?Q?Mattias Engdeg=E5rd?=" <mattias@virtutech.se>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: target/6981: wrong code in 64-bit manipulation on x86
Date: Thu, 25 Jul 2002 17:00:23 +0200

 >The attach file also serves as a testcase, returning 0 if
 >the bug is present, 1 otherwise.
 
 No, it is the other way around.
 


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

* Re: target/6981: wrong code in 64-bit manipulation on x86
@ 2002-07-16  6:56 Mattias Engdegård
  0 siblings, 0 replies; 5+ messages in thread
From: Mattias Engdegård @ 2002-07-16  6:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR target/6981; it has been noted by GNATS.

From: "=?ISO-8859-1?Q?Mattias Engdeg=E5rd?=" <mattias@virtutech.se>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org
Cc:  
Subject: Re: target/6981: wrong code in 64-bit manipulation on x86
Date: Tue, 16 Jul 2002 15:54:24 +0200

 I should make it clear that this is a regression from gcc 3.0.x, so someone
 may want to elevate the priority.
 


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

* target/6981: wrong code in 64-bit manipulation on x86
@ 2002-06-10  2:56 mattias
  0 siblings, 0 replies; 5+ messages in thread
From: mattias @ 2002-06-10  2:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: gustav

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1872 bytes --]


>Number:         6981
>Category:       target
>Synopsis:       wrong code in 64-bit manipulation on x86
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 10 02:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Mattias Engdegård
>Release:        gcc version 3.1
>Organization:
>Environment:
redhat 6.2 host (x86)
>Description:
gcc 3.1 (x86 target) generates wrong code when the attached
file is compiled with -O2. The error is in the bar() function.
The attach file also serves as a testcase, returning 0 if
the bug is present, 1 otherwise.

(What makes the problem severe is that the wrong code is
generated silently and the exact circumstances unknown, so
we are going back to 3.0.4 meanwhile.)
>How-To-Repeat:
Compile the attached file with -O2, using plain gcc 3.1 for
x86, built from source with a default configuration.
>Fix:
Use a lower optimisation level than -O2
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="sr1.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="sr1.c"

dHlwZWRlZiB1bnNpZ25lZCBsb25nIGxvbmcgdWludDY0OwoKdWludDY0ICpjcDsKdWludDY0IG07
Cgp2b2lkIGZvbyh2b2lkKQp7Cn0KCnZvaWQgYmFyKHVuc2lnbmVkIHJvcCwgdWludDY0ICpyKQp7
Cgl1bnNpZ25lZCByczEsIHJzMiwgcmQ7CgogdG9wOgoJcnMyID0gKHJvcCA+PiAyMykgJiAweDFm
ZjsKCXJzMSA9IChyb3AgPj4gOSkgJiAweDFmZjsKCXJkID0gcm9wICYgMHgxZmY7CgoJKmNwID0g
MTsKCW0gPSByW3JzMV0gKyByW3JzMl07CgkqY3AgPSAyOwoJZm9vKCk7CglpZiAoIXJkKQoJCWdv
dG8gdG9wOwoJcltyZF0gPSAxOwp9CgppbnQgbWFpbih2b2lkKQp7CglzdGF0aWMgdWludDY0IHJb
NjRdOwoJdWludDY0IGNyOwoJY3AgPSAmY3I7CgkKCXJbNF0gPSA0NzsKCXJbOF0gPSAxMTsKCWJh
cigoOCA8PCAyMykgfCAoNCA8PCA5KSB8IDE1LCByKTsKCQoJcmV0dXJuIG0gPT0gNDcgKyAxMSA/
IDAgOiAxOwp9Cg==


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

end of thread, other threads:[~2002-10-24 19:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-26  8:26 target/6981: wrong code in 64-bit manipulation on x86 jakub
  -- strict thread matches above, loose matches on Subject: below --
2002-10-24 12:00 neroden
2002-07-25  8:06 Mattias Engdegård
2002-07-16  6:56 Mattias Engdegård
2002-06-10  2:56 mattias

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