------- Comment #1 from rguenth at gcc dot gnu dot org  2009-01-04 23:04 -------
IMHO this is invalid.  extend.texi says

@smallexample
goto *ptr;
@end smallexample

@noindent
Any expression of type @code{void *} is allowed.

and integers are not promoted to pointers.

This checking is only enabled with checking.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|ice-on-valid-code           |accepts-invalid, ice-
                   |                            |checking
   Last reconfirmed|0000-00-00 00:00:00         |2009-01-04 23:04:32
               date|                            |


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

Reply via email to