is this ok to backport to 4.9? testsuite passes without regressions with this
patch on the 4.9 branch.
Matthias
Am 23.06.2014 um 20:21 schrieb Marek Polacek:
On Mon, Jun 23, 2014 at 04:39:55PM +0200, Marek Polacek wrote:
--- gcc/testsuite/c-c++-common/pr61553.c
+++
We ICEd on the following testcase since the void type has a NULL
TYPE_SIZE_UNIT. I took Andrew's patch from gcc@ ML and added
a testcase.
Regtested/bootstrapped on x86_64-linux, ok for trunk?
2014-06-23 Marek Polacek pola...@redhat.com
Andrew MacLeod amacl...@redhat.com
On Mon, 23 Jun 2014, Marek Polacek wrote:
We ICEd on the following testcase since the void type has a NULL
TYPE_SIZE_UNIT. I took Andrew's patch from gcc@ ML and added
a testcase.
Regtested/bootstrapped on x86_64-linux, ok for trunk?
2014-06-23 Marek Polacek pola...@redhat.com
On Mon, Jun 23, 2014 at 04:39:55PM +0200, Marek Polacek wrote:
--- gcc/testsuite/c-c++-common/pr61553.c
+++ gcc/testsuite/c-c++-common/pr61553.c
@@ -0,0 +1,8 @@
+/* PR c/61553 */
+/* { dg-do compile } */
+
+void
+foo (char *s)
+{
+ __atomic_store (s, (void *) 0, __ATOMIC_SEQ_CST);