[Bug c/50584] No warning for passing small array to C99 static array declarator
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 3 09:34:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50584
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-07-03
CC| |manu at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #9 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Malcolm Inglis from comment #4)
> Could someone change the status of this bug?
Notwithstanding whether the feature is pretty or ugly, GCC does accept this
code and warnings for undefined behavior, when possible, are desired. Thus,
confirmed.
This does not mean anyone is going to work on fixing this. Please, if you are
using this feature and would like to see this warning in GCC, please consider
contributing it:
https://gcc.gnu.org/wiki/GettingStarted#Basics:_Contributing_to_GCC_in_10_easy_steps
If you start working on this, it would be good to say so here.
More information about the Gcc-bugs
mailing list