This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/80919] [7/8 Regression] ICE: Segmentation fault with -Wall when printing address of size 0 array


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80919

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Sun Jun  4 17:27:22 2017
New Revision: 248860

URL: https://gcc.gnu.org/viewcvs?rev=248860&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:
    trunk/gcc/testsuite/gcc.dg/format/pr80919.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-format.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]