[Bug c/89525] [9 Regression] inform messages from -Wbuiltin-declaration-mismatch even with -w

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 28 07:18:00 GMT 2019


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 28 07:17:49 2019
New Revision: 269274

URL: https://gcc.gnu.org/viewcvs?rev=269274&root=gcc&view=rev
Log:
        PR c/89525
        * c-typeck.c (convert_arguments): Call inform_declaration only if
        the previous warning_at call returned true.

        * gcc.dg/pr89525.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89525.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list