]> gcc.gnu.org Git - gcc.git/commit
PR c/93812 - ICE on redeclaration of an attribute format function without protoype
authorMartin Sebor <msebor@redhat.com>
Mon, 2 Mar 2020 00:41:45 +0000 (17:41 -0700)
committerMartin Sebor <msebor@redhat.com>
Mon, 2 Mar 2020 00:41:45 +0000 (17:41 -0700)
commita499c2f899961f2c09db2dc33e60b66e8d770092
treeb4e1280ce09a78f7b1a84f3e921d48f47aef1ef2
parent1e9369c5dcf301e090d3a83e2c210cd6b96ac08c
PR c/93812 - ICE on redeclaration of an attribute format function without protoype

gcc/c/ChangeLog:

PR c/93812
* c-typeck.c (build_functype_attribute_variant): New function.
(composite_type): Call it.

gcc/testsuite/ChangeLog:

PR c/93812
* gcc.dg/format/proto.c: New test.
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format/proto.c [new file with mode: 0644]
This page took 0.065357 seconds and 6 git commands to generate.