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/71514] ICE on C11 code with atomic exchange at -O1 and above on x86_64-linux-gnu: in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:879


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

--- Comment #14 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Aug 18 16:38:49 2016
New Revision: 239581

URL: https://gcc.gnu.org/viewcvs?rev=239581&root=gcc&view=rev
Log:
        PR c/71514
        * c-common.c (get_atomic_generic_size): Disallow pointer-to-function
        and pointer-to-VLA.

        * gcc.dg/pr71514.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr71514.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]