Summary: | Distribute floating point expressions causes bad code [4.4 only] | ||
---|---|---|---|
Product: | gcc | Reporter: | Doug Kwan <dougkwan> |
Component: | rtl-optimization | Assignee: | Doug Kwan <dougkwan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs |
Priority: | P3 | Keywords: | wrong-code |
Version: | 4.4.0 | ||
Target Milestone: | 4.4.3 | ||
Host: | x86_64-unknown-linux-gnu | Target: | arm-none-eabi |
Build: | x86_64-unknown-linux-gnu | Known to work: | 4.5.0 |
Known to fail: | 4.4.0 | Last reconfirmed: | 2009-10-15 10:44:31 |
Description
Doug Kwan
2009-10-05 08:01:11 UTC
Subject: Bug 41574 Author: dougkwan Date: Mon Oct 5 09:08:46 2009 New Revision: 152443 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152443 Log: 2009-10-05 Doug Kwan <dougkwan@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 Fixed. The ChangeLog entry is wrong. > 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. :-)
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-bugzilla@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. > 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 (關振德) <dougkwan@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-bugzilla@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. >> > Subject: Bug 41574 Author: dougkwan Date: Thu Oct 8 22:16:58 2009 New Revision: 152580 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152580 Log: 2009-10-08 Doug Kwan <dougkwan@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 This is fixed in trunk but at least gcc-4.4.0, where this bug was found, is still broken. (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 (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 Subject: Bug 41574 Author: ramana Date: Fri Dec 11 11:21:33 2009 New Revision: 155157 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155157 Log: Fix PR41574 on 4.4 branch. 2009-12-11 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> 2009-10-05 Doug Kwan <dougkwan@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.radhakrishnan@arm.com> 2009-10-08 Doug Kwan <dougkwan@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 Fixed . |