]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2010-05-24 Iain Sandoe <iains@gcc.gnu.org>
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 May 2010 01:00:16 +0000 (01:00 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 May 2010 01:00:16 +0000 (01:00 +0000)
PR ObjC++/43689
* obj-c++.dg/const-str-5.mm: Name pointer equivalence union.
* obj-c++.dg/const-str-6.mm: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159805 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/const-str-5.mm
gcc/testsuite/obj-c++.dg/const-str-6.mm

index ddb08adfce659c64e6ca9fa6cac4a495895bc521..146fa02e5769ac4900228e284d18a98e2f914dd5 100644 (file)
@@ -1,3 +1,9 @@
+2010-05-24  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR ObjC++/43689
+       * obj-c++.dg/const-str-5.mm: Name pointer equivalence union.
+       * obj-c++.dg/const-str-6.mm: Ditto.
+
 2010-05-24  Eric Botcazou  <ebotcazou@adacore.com>
 
        * g++.dg/parse/array-size2.C: Remove dg-error directives.
index 186edcfceb22635af5b6f6ca2f9d803cbd170782..479b4fd089e52fdcbcc3cfaa4da6e86f9d31e196 100644 (file)
@@ -10,7 +10,7 @@
 @end
 
 @interface MyConstantString: MyBase {
-  union {
+  union equiv_u {
     void     *u;
     unsigned char   *c;
   } _contents;
index a7cbbf7141a79efa7dafffaf7f98393f4c8da1e2..3233083bf48afbe8319892756c1260dcc12246b8 100644 (file)
@@ -10,7 +10,7 @@
 @end
 
 @interface MyConstantString: MyBase {
-  union {
+  union equiv_u {
     void     *u;
     unsigned char   *c;
   } _contents;