[Bug c++/52156] add warning for allocated array being converted to pointer to base

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 7 20:08:00 GMT 2012


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-02-07
     Ever Confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-07 20:08:07 UTC ---
Confirmed, yes this direct assignment should have a warning.



More information about the Gcc-bugs mailing list