[Bug c/93812] [9/10 Regression] ICE on redeclaration of an attribute format function without protoype
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 2 00:43:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93812
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:a499c2f899961f2c09db2dc33e60b66e8d770092
commit r10-6960-ga499c2f899961f2c09db2dc33e60b66e8d770092
Author: Martin Sebor <msebor@redhat.com>
Date: Sun Mar 1 17:41:45 2020 -0700
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.
More information about the Gcc-bugs
mailing list