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 #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Jan 20 14:17:51 2015
New Revision: 219895

URL: https://gcc.gnu.org/viewcvs?rev=219895&root=gcc&view=rev
Log:
    Backport from mainline
    2014-06-23  Marek Polacek  <polacek@redhat.com>

    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:
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/pr61553.c
Modified:
    branches/gcc-4_9-branch/gcc/c-family/ChangeLog
    branches/gcc-4_9-branch/gcc/c-family/c-common.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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