------- Additional Comments From hp at gcc dot gnu dot org  2005-02-20 08:55 
-------
I don't really understand this part of comment #4 which apparently is the reason
for relabelling this PR as rtl-optimization: "Currently in 4.0.x, pure/const is
found by the rtl and not by tree wise".  See the bug description, where I
explicitly state that the invalid transformation is done already when RTL is
generated (that is, as evident in the first dump).

Though looking in GCC, it seems that indeed RTL is responsible for finding
const and pure code.  But that would mean that there's a bug in the RTL-dumping
framework: that it isn't the *initial* RTL that is dumped.
I think I'll have a look so I assign myself this PR.

The bug is still present with LAST_UPDATED "Sun Feb 20 07:53:10 UTC 2005"
so the change referred to apparently doesn't handle this bug even though the
PR and changed code seems related.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hp at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-20 08:55:18
               date|                            |


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

Reply via email to