public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/2903: Optimization bug with long long arithmetic
@ 2002-01-27 16:16 Craig Rodrigues
  0 siblings, 0 replies; 4+ messages in thread
From: Craig Rodrigues @ 2002-01-27 16:16 UTC (permalink / raw)
  To: rearnsha; +Cc: gcc-prs

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

From: Craig Rodrigues <rodrigc@mediaone.net>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, sean@mcneil.com,
   gcc-bugs@gcc.gnu.org, rearnsha@gcc.gnu.org
Cc:  
Subject: Re: optimization/2903: Optimization bug with long long arithmetic
Date: Sun, 27 Jan 2002 19:14:37 -0500

 --------------680271DC94FCE5BC1DC3A36F
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Was the patch submitted in this PR applied to gcc or not?
 Can we close this PR?
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2903
 
 --
 Craig Rodrigues
 http://www.gis.net/~craigr
 rodrigc@mediaone.net
 
 
 
 --------------680271DC94FCE5BC1DC3A36F
 Content-Type: text/html; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
 <html>
 Was the patch submitted in this PR applied to gcc or not?
 <br>Can we close this PR?
 <p><A HREF="http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&amp;amp;pr=2903">http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&amp;database=gcc&amp;amp;pr=2903</A>
 <pre>--&nbsp;
 Craig Rodrigues&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 <A HREF="http://www.gis.net/~craigr">http://www.gis.net/~craigr</A>&nbsp;&nbsp;&nbsp;&nbsp;
 rodrigc@mediaone.net</pre>
 &nbsp;</html>
 
 --------------680271DC94FCE5BC1DC3A36F--
 


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

* Re: optimization/2903: Optimization bug with long long arithmetic
@ 2001-07-16  2:36 Richard Earnshaw
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Earnshaw @ 2001-07-16  2:36 UTC (permalink / raw)
  To: rearnsha; +Cc: gcc-prs

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

From: Richard Earnshaw <rearnsha@arm.com>
To: Sean McNeil <sean@mcneil.com>
Cc: rearnsha@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
        nobody@gcc.gnu.org
Subject: Re: optimization/2903: Optimization bug with long long arithmetic 
Date: Mon, 16 Jul 2001 10:29:00 +0100

 > The tail end portion of the patch causes a build error.  I am building
 > the compiler now without it and will let you know if it works.
 > 
 > ***************
 > *** 9236,9243 ****
 >   
 >   ;; V5E instructions.
 >   
 > ! (define_insn "prefetch"
 > !   [(unspec_volatile
 >       [(match_operand:SI 0 "offsettable_memory_operand" "o")]
 > VUNSPEC_PREFETCH)]    "TARGET_ARM && arm_arch5e"
 >     "pld\\t%0")
 > --- 9236,9242 ----
 >   
 >   ;; V5E instructions.
 >   
 > ! (define_insn "ppec_volatile
 >       [(match_operand:SI 0 "offsettable_memory_operand" "o")]
 > VUNSPEC_PREFETCH)]    "TARGET_ARM && arm_arch5e"
 >     "pld\\t%0")
 > 
 
 I've no idea where that came from.  It certainly isn't a change I remember 
 making, and it is definitely wrong anyway.
 
 Thanks for pointing out the problem.
 
 R
 


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

* Re: optimization/2903: Optimization bug with long long arithmetic
@ 2001-07-11 10:53 rearnsha
  0 siblings, 0 replies; 4+ messages in thread
From: rearnsha @ 2001-07-11 10:53 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, rearnsha, sean

Synopsis: Optimization bug with long long arithmetic

Responsible-Changed-From-To: unassigned->rearnsha
Responsible-Changed-By: rearnsha
Responsible-Changed-When: Wed Jul 11 10:53:40 2001
Responsible-Changed-Why:
    Mine
State-Changed-From-To: open->feedback
State-Changed-By: rearnsha
State-Changed-When: Wed Jul 11 10:53:40 2001
State-Changed-Why:
    Please try the attached patch

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2903&database=gcc


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

* optimization/2903: Optimization bug with long long arithmetic
@ 2001-05-22 11:56 sean
  0 siblings, 0 replies; 4+ messages in thread
From: sean @ 2001-05-22 11:56 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2903
>Category:       optimization
>Synopsis:       Optimization bug with long long arithmetic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 22 11:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sean McNeil
>Release:        3.1 20010522 (experimental)
>Organization:
>Environment:
Linux 2.4.3 host cross compile to arm-wrs-vxworks
>Description:
The attached code produces incorrect results when compiled at -O2 yet is correct without the -On option.
>How-To-Repeat:
compiled with

arm-wrs-vxworks-gcc -c -O2 bad_result.c 
>Fix:

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

CiNkZWZpbmUgT0ZGU0VUX0lOX1NFQyggYmxvY2ssIG9mZiApIFwKCQkJKCAob2ZmKSAmIChibG9j
ayAtIDEpICkKCmxvbmcgbG9uZyBuZXdQb3MgPSA1MjEwODsKaW50IG5ld0Jsb2NrID0gNTEyOwoK
bG9uZyBsb25nIHBvczsKbG9uZyBsb25nICpwUG9zID0gJnBvczsKCmludCBiYWRfcmVzdWx0ICh2
b2lkKQp7CiAgICBpbnQgcmVzdWx0OwogICAgdW5zaWduZWQgc2hvcnQgYmxvY2s7CgogICAgYmxv
Y2sgPSBuZXdCbG9jazsKICAgICpwUG9zID0gbmV3UG9zOwoKICAgICpwUG9zIC09IE9GRlNFVF9J
Tl9TRUMgKGJsb2NrLCAqcFBvcyk7CgogICAgcHJpbnRmICgiJWRcbiIsIChpbnQpKnBQb3MpOwoK
ICAgIHJlc3VsdCA9ICgqcFBvcyA8IGJsb2NrKTsKCiAgICByZXR1cm4gcmVzdWx0Owp9Cg==


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

end of thread, other threads:[~2002-01-28  0:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-27 16:16 optimization/2903: Optimization bug with long long arithmetic Craig Rodrigues
  -- strict thread matches above, loose matches on Subject: below --
2001-07-16  2:36 Richard Earnshaw
2001-07-11 10:53 rearnsha
2001-05-22 11:56 sean

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