public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000
       [not found] <20020730073601.7443.ddolson@sandvine.com>
@ 2003-06-02  3:54 ` dhazeghi@yahoo.com
  2003-06-02 23:21 ` echristo@redhat.com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: dhazeghi@yahoo.com @ 2003-06-02  3:54 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443


dhazeghi@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |echristo@redhat.com
  GCC build triplet|                            |i686-pc-cygwin
   GCC host triplet|                            |i686-pc-cygwin
 GCC target triplet|                            |mips-wrs-vxworks


------- Additional Comments From dhazeghi@yahoo.com  2003-06-02 03:54 -------
Eric,

here's another MIPS report that seems rather old. Any comments on it? Thanks,

Dara



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000
       [not found] <20020730073601.7443.ddolson@sandvine.com>
  2003-06-02  3:54 ` [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000 dhazeghi@yahoo.com
@ 2003-06-02 23:21 ` echristo@redhat.com
  2003-06-03  2:20 ` ddolson@sandvine.com
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: echristo@redhat.com @ 2003-06-02 23:21 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443



------- Additional Comments From echristo@redhat.com  2003-06-02 23:21 -------
Subject: Re:  [MIPS] gcc 3.0.3 incorrectly optimizes
	arithmetic containing 0x80000000

On Sun, 2003-06-01 at 20:54, dhazeghi@yahoo.com wrote:
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443

> 
> here's another MIPS report that seems rather old. Any comments on it? Thanks,

Code generation is now sufficiently different that I think it can move
to closed. It appears to work in current sources, though an executable
testcase would have been ideal and I didn't want to run this through a
tester.

-eric





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000
       [not found] <20020730073601.7443.ddolson@sandvine.com>
  2003-06-02  3:54 ` [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000 dhazeghi@yahoo.com
  2003-06-02 23:21 ` echristo@redhat.com
@ 2003-06-03  2:20 ` ddolson@sandvine.com
  2003-06-03 10:30 ` dhazeghi@yahoo.com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: ddolson@sandvine.com @ 2003-06-03  2:20 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443



------- Additional Comments From ddolson@sandvine.com  2003-06-03 02:20 -------
Subject: RE:  [MIPS] gcc 3.0.3 incorrectly optimizes arit
	hmetic containing 0x80000000

Eric,
Are you asking for a test case, e.g., a complete program, which returns
true/false indicating code correctness?

Dave. 

-----Original Message-----
From: echristo@redhat.com
To: ddolson@sandvine.com
Sent: 6/2/2003 7:21 PM
Subject: [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic
containing 0x80000000

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT*
gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443



------- Additional Comments From echristo@redhat.com  2003-06-02 23:21
-------
Subject: Re:  [MIPS] gcc 3.0.3 incorrectly optimizes
	arithmetic containing 0x80000000

On Sun, 2003-06-01 at 20:54, dhazeghi@yahoo.com wrote:
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT*
gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443

> 
> here's another MIPS report that seems rather old. Any comments on it?
Thanks,

Code generation is now sufficiently different that I think it can move
to closed. It appears to work in current sources, though an executable
testcase would have been ideal and I didn't want to run this through a
tester.

-eric





------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000
       [not found] <20020730073601.7443.ddolson@sandvine.com>
                   ` (2 preceding siblings ...)
  2003-06-03  2:20 ` ddolson@sandvine.com
@ 2003-06-03 10:30 ` dhazeghi@yahoo.com
  2003-06-03 12:15 ` ddolson@sandvine.com
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: dhazeghi@yahoo.com @ 2003-06-03 10:30 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443



------- Additional Comments From dhazeghi@yahoo.com  2003-06-03 10:30 -------
Yes. Any short example demonstrating the problem either in assembly, or at 
runtime, should be sufficient. Thanks,

Dara



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000
       [not found] <20020730073601.7443.ddolson@sandvine.com>
                   ` (3 preceding siblings ...)
  2003-06-03 10:30 ` dhazeghi@yahoo.com
@ 2003-06-03 12:15 ` ddolson@sandvine.com
  2003-06-03 17:36 ` echristo@redhat.com
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: ddolson@sandvine.com @ 2003-06-03 12:15 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443



------- Additional Comments From ddolson@sandvine.com  2003-06-03 12:15 -------
Subject: RE:  [MIPS] gcc 3.0.3 incorrectly optimizes arit
	hmetic containing 0x80000000

The bug report already has short examples.  If desired for regression test,
compare the result of good_fn1() to bad_fn1(), bad_fn2(), bad_fn3() for
integers in a variety of corner-cases.


> -----Original Message-----
> From: dhazeghi@yahoo.com [mailto:gcc-bugzilla@gcc.gnu.org]
> Sent: Tuesday, June 03, 2003 6:31 AM
> To: ddolson@sandvine.com
> Subject: [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes
> arithmetic containing 0x80000000
> 
> 
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* 
> gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443
> 
> 
> 
> ------- Additional Comments From dhazeghi@yahoo.com  
> 2003-06-03 10:30 -------
> Yes. Any short example demonstrating the problem either in 
> assembly, or at 
> runtime, should be sufficient. Thanks,
> 
> Dara
> 
> 
> 
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
> 




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000
       [not found] <20020730073601.7443.ddolson@sandvine.com>
                   ` (4 preceding siblings ...)
  2003-06-03 12:15 ` ddolson@sandvine.com
@ 2003-06-03 17:36 ` echristo@redhat.com
  2003-06-03 18:49 ` ddolson@sandvine.com
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: echristo@redhat.com @ 2003-06-03 17:36 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443



------- Additional Comments From echristo@redhat.com  2003-06-03 17:36 -------
Subject: Re:  [MIPS] gcc 3.0.3 incorrectly optimizes
	arithmetic containing 0x80000000


> ------- Additional Comments From ddolson@sandvine.com  2003-06-03 12:15 -------
> Subject: RE:  [MIPS] gcc 3.0.3 incorrectly optimizes arit
> 	hmetic containing 0x80000000
> 
> The bug report already has short examples.  If desired for regression test,
> compare the result of good_fn1() to bad_fn1(), bad_fn2(), bad_fn3() for
> integers in a variety of corner-cases.
> 

Actually, as I wrote, it doesn't look like a problem any more. Give it a
shot.

-eric





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000
       [not found] <20020730073601.7443.ddolson@sandvine.com>
                   ` (5 preceding siblings ...)
  2003-06-03 17:36 ` echristo@redhat.com
@ 2003-06-03 18:49 ` ddolson@sandvine.com
  2003-06-03 19:41 ` echristo@redhat.com
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: ddolson@sandvine.com @ 2003-06-03 18:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443



------- Additional Comments From ddolson@sandvine.com  2003-06-03 18:49 -------
Subject: RE:  [MIPS] gcc 3.0.3 incorrectly optimizes arit
	hmetic containing 0x80000000

It isn't clear which version has the fix.  As Dara points out below, it
doesn't compile on 3.2.3 or 3.3.


> -----Original Message-----
> From: Dara Hazeghi [mailto:dhazeghi@yahoo.com]
> Sent: Wednesday, May 21, 2003 3:06 PM
> To: Dave Dolson
> Subject: RE: target/7443: [MIPS] gcc 3.0.3 incorrectly optimizes
> arithmeti c containing 0x80000000
> 
> 
> 
> --- Dave Dolson <ddolson@sandvine.com> wrote:
> > I don't recall if the problem occured at -O0.
> > I'll look at the asm if you wish.
> 
> Okay, the story gets weirder. This ICEs on gcc 3.2.3,
> 3.3 and mainline. I'm guessing that's because I'm
> using the target mips-elf. You're system is
> mips-vxworks, right?
> 
> Thanks,
> 
> Dara




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000
       [not found] <20020730073601.7443.ddolson@sandvine.com>
                   ` (6 preceding siblings ...)
  2003-06-03 18:49 ` ddolson@sandvine.com
@ 2003-06-03 19:41 ` echristo@redhat.com
  2003-08-22  9:34 ` rsandifo at gcc dot gnu dot org
  2003-12-09 17:26 ` dhazeghi at yahoo dot com
  9 siblings, 0 replies; 10+ messages in thread
From: echristo@redhat.com @ 2003-06-03 19:41 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443



------- Additional Comments From echristo@redhat.com  2003-06-03 19:41 -------
Subject: Re:  [MIPS] gcc 3.0.3 incorrectly optimizes
	arithmetic containing 0x80000000

On Tue, 2003-06-03 at 11:49, ddolson@sandvine.com wrote:
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443
> 
> 
> 
> ------- Additional Comments From ddolson@sandvine.com  2003-06-03 18:49 -------
> Subject: RE:  [MIPS] gcc 3.0.3 incorrectly optimizes arit
> 	hmetic containing 0x80000000
> 
> It isn't clear which version has the fix.  As Dara points out below, it
> doesn't compile on 3.2.3 or 3.3.

I used mainline.

-eric





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000
       [not found] <20020730073601.7443.ddolson@sandvine.com>
                   ` (7 preceding siblings ...)
  2003-06-03 19:41 ` echristo@redhat.com
@ 2003-08-22  9:34 ` rsandifo at gcc dot gnu dot org
  2003-12-09 17:26 ` dhazeghi at yahoo dot com
  9 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2003-08-22  9:34 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443


rsandifo at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From rsandifo at gcc dot gnu dot org  2003-08-22 09:34 -------
No further feedback.  Testcase seems to work correctly with CVS head.


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

* [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000
       [not found] <20020730073601.7443.ddolson@sandvine.com>
                   ` (8 preceding siblings ...)
  2003-08-22  9:34 ` rsandifo at gcc dot gnu dot org
@ 2003-12-09 17:26 ` dhazeghi at yahoo dot com
  9 siblings, 0 replies; 10+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-09 17:26 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7443


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

end of thread, other threads:[~2003-12-09 17:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020730073601.7443.ddolson@sandvine.com>
2003-06-02  3:54 ` [Bug target/7443] [MIPS] gcc 3.0.3 incorrectly optimizes arithmetic containing 0x80000000 dhazeghi@yahoo.com
2003-06-02 23:21 ` echristo@redhat.com
2003-06-03  2:20 ` ddolson@sandvine.com
2003-06-03 10:30 ` dhazeghi@yahoo.com
2003-06-03 12:15 ` ddolson@sandvine.com
2003-06-03 17:36 ` echristo@redhat.com
2003-06-03 18:49 ` ddolson@sandvine.com
2003-06-03 19:41 ` echristo@redhat.com
2003-08-22  9:34 ` rsandifo at gcc dot gnu dot org
2003-12-09 17:26 ` dhazeghi at yahoo dot com

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