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/81231] ICE with invalid argument to __atomic_*


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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Jul  4 12:17:22 2017
New Revision: 249963

URL: https://gcc.gnu.org/viewcvs?rev=249963&root=gcc&view=rev
Log:
        PR c/81231
        * c-common.c (sync_resolve_size): Give error for pointers to incomplete
        types.

        * gcc.dg/atomic-pr81231.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/atomic-pr81231.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.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]