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/61553] __atomic_store with non-pointer arg ICE


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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Jun 23 16:57:48 2014
New Revision: 211905

URL: https://gcc.gnu.org/viewcvs?rev=211905&root=gcc&view=rev
Log:
    PR c/61553
    * c-common.c (get_atomic_generic_size): Don't segfault if the
    type doesn't have a size.

    * c-c++-common/pr61553.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/pr61553.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]