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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot 
gnu.org

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 31190
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31190&action=edit
Patch which I think fixes this issue

I think this is a valid complaint.  I attached a patch which is against 4.7.0
which should fix this issue.  The problem is PRE tries to pull out the
__builtin_constant_p call and then optimizes based on that.

Reply via email to