------- Comment #1 from rguenth at gcc dot gnu dot org  2006-05-28 12:03 -------
ipa-pure-const thinks that func is const, which is wrong.  Then DCE comes along
and deletes the function call.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-28 12:03:59
               date|                            |
            Summary|weak-attribute over-        |[4.1/4.2 Regression] weak-
                   |optimisation with 4.1       |attribute over-optimisation
   Target Milestone|---                         |4.1.2


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

Reply via email to