re PR c/14188 (Suggestion: improve warning message for call through incompatible...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 23 Feb 2004 12:41:43 +0000 (13:41 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 23 Feb 2004 12:41:43 +0000 (12:41 +0000)
commitbba745c19d4fa3c59a9233f7e7e3b0b92977e662
tree2e44e37a0e7aecf9918a26fd85248ec003ba70c1
parent29f4ceab97334d8e361a103dae4254766414acf5
re PR c/14188 (Suggestion: improve warning message for call through incompatible type)

PR c/14188
* builtins.c (expand_builtin_va_arg): Emit an informative message
if a trap is generated.
* c-typeck.c (build_function_call): Likewise.

Co-Authored-By: Falk Hueffner <falk@debian.org>
From-SVN: r78294
gcc/ChangeLog
gcc/builtins.c
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cast-function-1.c
gcc/testsuite/gcc.dg/va-arg-1.c