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



Richard Biener <rguenth at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |ASSIGNED

           Keywords|                            |ice-on-invalid-code

   Last reconfirmed|                            |2013-01-07

          Component|c                           |tree-optimization

         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org

                   |gnu.org                     |

     Ever Confirmed|0                           |1

            Summary|calling a builtin func      |[4.7/4.8 Regression]

                   |through a cast triggers an  |calling a builtin func

                   |ICE                         |through a cast triggers an

                   |                            |ICE

   Target Milestone|---                         |4.7.3



--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-07 
09:53:24 UTC ---

Confirmed.  Of course the testcase is somewhat "invalid".  Since GCC 4.7

we preserve the original function type that is in effect for performing the

call but we are able to still propagate the actual function decl to the

call stmt.  Code inspecting arguments based on the fact the called function

is a builtin decl needs additional verification now ...



Mine.

Reply via email to