[Bug c++/69925] No warning for uninitialized char * passing to function as const char *

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 23 17:02:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69925

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There is another bug about this specific thing already.  But note someone can
do a const_cast and remove the const part and start assigning values to the
array so it is not always considered as unitialized.


More information about the Gcc-bugs mailing list