[Bug c/16602] Spurious warnings about pointer to array -> const pointer to array conversion
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 13 01:52:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16602
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Sebastian Unger from comment #11)
> I'm inclined to reopen this issue unless someone can point me to the
> standard for this.
From 6.7.3/9 (in the C11 draft):
If the specification of an array type includes any type qualifiers, the element
type is so qualified, not the array type. If the specification of a function type
includes any type
qualifiers, the behavior is undefined. 136)
More information about the Gcc-bugs
mailing list