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 <pola...@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