[Bug c++/44263] missing diagnostic on questionable array sizes with -pedantic

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Sep 28 22:46:00 GMT 2011


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|gcc-bugs at gcc dot gnu.org |paolo.carlini at oracle dot
                   |                            |com

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-28 22:34:17 UTC ---
Uhm, when compute_array_index_type is called, size is always an INTEGER_CST.
For the record ICC also accepts this in strict mode and without warnings.



More information about the Gcc-bugs mailing list