[Bug middle-end/51677] don't suggest giving main() __attribute__((const))

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 24 04:06:00 GMT 2018


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
                 CC|                            |egallager at gcc dot gnu.org,
                   |                            |msebor at gcc dot gnu.org

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
This makes it impossible to test if -Wsuggest-attribute=const works with my
usual autoconf macros for checking warning flag functionality, btw. CC-ing
Martin Sebor since he recently fixed another bug with -Wsuggest-attribute=const
for me.


More information about the Gcc-bugs mailing list