[Bug c/25296] Const promotion not working correctly

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 7 17:06:00 GMT 2005



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-12-07 17:06 -------
The warning is correct as the const "promotion" only applies to the outer most
type. so that const int * const is imcompatible with int *.


-- 

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=25296



More information about the Gcc-bugs mailing list