------- Comment #2 from jakub at gcc dot gnu dot org  2008-11-15 23:16 -------
The source is buggy,
*(void **)(&callback_func) = parm;
violates strict aliasing (with absolutely no reason, callback_func = parm;
would work perfectly).

That said, gcc shouldn't ICE on such code anyway.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-11-15 23:16:41
               date|                            |


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

Reply via email to