PR testsuite/88098 - FAIL: gcc.dg/Wbuiltin-declaration-mismatch-4.c
authorMartin Sebor <msebor@redhat.com>
Fri, 23 Nov 2018 18:23:31 +0000 (18:23 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Fri, 23 Nov 2018 18:23:31 +0000 (11:23 -0700)
commitdb1d09b049a9388c481ff76aa00fe74734cce1c8
tree42a7fa6c53e216da806d8aa51b9e929cf5056d2f
parente987fb1ebecc7494f9869071e487deef70a792f6
PR testsuite/88098 - FAIL: gcc.dg/Wbuiltin-declaration-mismatch-4.c

gcc/c/ChangeLog:

PR testsuite/88098
* c-typeck.c (convert_arguments): Call builtin_decl_explicit instead.
(maybe_warn_builtin_no_proto_arg): Handle short enum to int promotion.

gcc/testsuite/ChangeLog:

PR testsuite/88098
* gcc.dg/Wbuiltin-declaration-mismatch-4.c: Adjust.
* gcc.dg/Wbuiltin-declaration-mismatch-5.c: New test.
* gcc.dg/torture/pr67222.c: Adjust.

From-SVN: r266417
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-4.c
gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr67222.c