This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/61553] __atomic_store with non-pointer arg ICE
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Jan 2015 14:18:25 +0000
- Subject: [Bug c/61553] __atomic_store with non-pointer arg ICE
- Auto-submitted: auto-generated
- References: <bug-61553-4 at http dot gcc dot gnu dot org/bugzilla/>
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