[Bug c/80919] [7 Regression] ICE: Segmentation fault with -Wall when printing address of size 0 array
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 7 11:31:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80919
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Jun 7 11:29:34 2017
New Revision: 248963
URL: https://gcc.gnu.org/viewcvs?rev=248963&root=gcc&view=rev
Log:
PR c/80919
* c-format.c (matching_type_p): Return false if any of the types
requires structural equality.
* gcc.dg/format/pr80919.c: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/format/pr80919.c
Modified:
branches/gcc-7-branch/gcc/c-family/ChangeLog
branches/gcc-7-branch/gcc/c-family/c-format.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list