aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppbuiltin.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2020-03-13 10:28:26 -0600
committerMartin Sebor <msebor@redhat.com>2020-03-13 10:28:26 -0600
commitf2e9fe5f97d88fc876c44e6ffa57a2e85150adf9 (patch)
tree4efc5313286608ccae0b5b9224a5c4381b76064c /gcc/cppbuiltin.c
parent9ae8bc027743d7c2d25f90d6752a1f4e0dc153cf (diff)
downloadgcc-f2e9fe5f97d88fc876c44e6ffa57a2e85150adf9.zip
gcc-f2e9fe5f97d88fc876c44e6ffa57a2e85150adf9.tar.gz
gcc-f2e9fe5f97d88fc876c44e6ffa57a2e85150adf9.tar.bz2
PR c/94040 - ICE on a call to an invalid redeclaration of strftime
gcc/c/ChangeLog: PR c/94040 * c-decl.c (builtin_structptr_type_count): New constant. (match_builtin_function_types): Reject decls that are incompatible in types pointed to by pointers. (diagnose_mismatched_decls): Adjust comments. gcc/testsuite/ChangeLog: PR c/94040 * gcc.dg/Wbuiltin-declaration-mismatch-12.c: Relax test to look for warning name rather than the exact text. * gcc.dg/Wbuiltin-declaration-mismatch-14.c: New test. * gcc.dg/Wbuiltin-declaration-mismatch-15.c: New test. * gcc.dg/pr62090.c: Prune expected warning. * gcc.dg/pr89314.c: Look for warning name rather than text.
Diffstat (limited to 'gcc/cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions