------- Comment #4 from pinskia at gcc dot gnu dot org  2008-08-21 17:56 -------
>Compiling the sources separately works, and they are valid C separately.

Well they are valid if compiled separately but once you link them, they become
invalid C :).  This is one place where the C standard says the code is invalid
but no diagnostic is required.  GCC is producing the diagnostic in --combine
case as it is able to see both prototypes so it complains.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to