[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code [4.4 only]

2009-12-11 Thread ramana at gcc dot gnu dot org


--- Comment #11 from ramana at gcc dot gnu dot org  2009-12-11 11:21 ---
Subject: Bug 41574

Author: ramana
Date: Fri Dec 11 11:21:33 2009
New Revision: 155157

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155157
Log:
Fix PR41574 on 4.4 branch.

2009-12-11  Ramana Radhakrishnan  ramana.radhakrish...@arm.com

2009-10-05  Doug Kwan  dougk...@google.com

PR rtl-optimization/41574
* combine.c (distribute_and_simplify_rtx): Quit if RTX mode is
floating point and we are not doing unsafe math optimizations.


2009-12-11  Ramana Radhakrishnan  ramana.radhakrish...@arm.com

2009-10-08  Doug Kwan  dougk...@google.com

PR rtl-optimization/41574
* gcc.dg/pr41574.c: New test.



Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr41574.c
  - copied unchanged from r152580, trunk/gcc/testsuite/gcc.dg/pr41574.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/combine.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code [4.4 only]

2009-12-11 Thread ramana at gcc dot gnu dot org


--- Comment #12 from ramana at gcc dot gnu dot org  2009-12-11 17:46 ---
Fixed .


-- 

ramana at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code [4.4 only]

2009-12-10 Thread ramana at gcc dot gnu dot org


-- 

ramana at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.4.3


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code [4.4 only]

2009-10-20 Thread dougkwan at google dot com


--- Comment #10 from dougkwan at google dot com  2009-10-20 06:22 ---
(In reply to comment #9)
 (In reply to comment #8)
  This is fixed in trunk but at least gcc-4.4.0, where this bug was found, is
  still broken.
  
 
 I have no approval rights but can you test  ask to backport this to 4.4 
 branch
 after the freeze for the 4.4.2 release is lifted ? 

Sorry about the late reply. Yes, I can prepare a fix for 4.4.2

-Doug 


-- 

dougkwan at google dot com changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |dougkwan at google dot com
   |dot org |
 Status|NEW |ASSIGNED


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code [4.4 only]

2009-10-15 Thread ramana at gcc dot gnu dot org


--- Comment #9 from ramana at gcc dot gnu dot org  2009-10-15 10:44 ---
(In reply to comment #8)
 This is fixed in trunk but at least gcc-4.4.0, where this bug was found, is
 still broken.
 

I have no approval rights but can you test  ask to backport this to 4.4 branch
after the freeze for the 4.4.2 release is lifted ? 

Ramana


-- 

ramana at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2009-10-15 10:44:31
   date||
Summary|Distribute floating point   |Distribute floating point
   |expressions causes bad code.|expressions causes bad code
   ||[4.4 only]


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-08 Thread dougkwan at gcc dot gnu dot org


--- Comment #7 from dougkwan at gcc dot gnu dot org  2009-10-08 22:17 
---
Subject: Bug 41574

Author: dougkwan
Date: Thu Oct  8 22:16:58 2009
New Revision: 152580

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152580
Log:
2009-10-08  Doug Kwan  dougk...@google.com

PR rtl-optimization/41574
* gcc.dg/pr41574.c: New test.

Added:
trunk/gcc/testsuite/gcc.dg/pr41574.c
Modified:
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-08 Thread dougkwan at google dot com


--- Comment #8 from dougkwan at google dot com  2009-10-08 22:20 ---
This is fixed in trunk but at least gcc-4.4.0, where this bug was found, is
still broken.


-- 

dougkwan at google dot com changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
  Known to fail||4.4.0
 Resolution|FIXED   |
Version|4.5.0   |4.4.0


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread dougkwan at gcc dot gnu dot org


--- Comment #1 from dougkwan at gcc dot gnu dot org  2009-10-05 09:09 
---
Subject: Bug 41574

Author: dougkwan
Date: Mon Oct  5 09:08:46 2009
New Revision: 152443

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152443
Log:
2009-10-05  Doug Kwan  dougk...@google.com

PR rtl-optimization/41574
Index: combine.c (distribute_and_simplify_rtx): Quit if RTX mode is
floating point and we are not doing unsafe math optimizations.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c


-- 


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread ramana at gcc dot gnu dot org


--- Comment #2 from ramana at gcc dot gnu dot org  2009-10-05 09:32 ---
Fixed.


-- 

ramana at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread jakub at gcc dot gnu dot org


--- Comment #3 from jakub at gcc dot gnu dot org  2009-10-05 09:48 ---
The ChangeLog entry is wrong.


-- 


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2009-10-05 10:00 
---
 The ChangeLog entry is wrong.

And folks from Google shouldn't feel entitled to break a freeze imposed by
other folks from Google even if, yes, it is annoyingly long. :-)


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread dougkwan at google dot com


--- Comment #5 from dougkwan at google dot com  2009-10-05 15:44 ---
Subject: Re:  Distribute floating point 
expressions causes bad code.

I am aware of the fact the stage one has ended but this is a bug fix,
not an experimental new feature.  Did I break a code freeze?  If so, I
am sorry and can back out the fix until the tree is reopen.

2009/10/5 ebotcazou at gcc dot gnu dot org gcc-bugzi...@gcc.gnu.org:


 --- Comment #4 from ebotcazou at gcc dot gnu dot org  2009-10-05 10:00 
 ---
 The ChangeLog entry is wrong.

 And folks from Google shouldn't feel entitled to break a freeze imposed by
 other folks from Google even if, yes, it is annoyingly long. :-)


 --

 ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
 
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org


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

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



-- 


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



[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread dougkwan at google dot com


--- Comment #6 from dougkwan at google dot com  2009-10-05 15:48 ---
Subject: Re:  Distribute floating point 
expressions causes bad code.

Just saw Diego's e-mail about the me breaking the freeze.  Sorry I
should have checked that before checking thing in.  It was just my
bad.

2009/10/5 Doug Kwan (Ãö®¶¼w) dougk...@google.com:
 I am aware of the fact the stage one has ended but this is a bug fix,
 not an experimental new feature.  Did I break a code freeze?  If so, I
 am sorry and can back out the fix until the tree is reopen.

 2009/10/5 ebotcazou at gcc dot gnu dot org gcc-bugzi...@gcc.gnu.org:


 --- Comment #4 from ebotcazou at gcc dot gnu dot org  2009-10-05 10:00 
 ---
 The ChangeLog entry is wrong.

 And folks from Google shouldn't feel entitled to break a freeze imposed by
 other folks from Google even if, yes, it is annoyingly long. :-)


 --

 ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added
 
 CC||ebotcazou at gcc dot gnu dot
   ||org


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

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




-- 


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