OSDN Git Service

* g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Apr 2002 20:32:48 +0000 (20:32 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Apr 2002 20:32:48 +0000 (20:32 +0000)
Clarify comment.

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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/cleanup1.C

index 8c5385f..99ab611 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
+       Clarify comment.
+
 2002-04-21  Neil Booth  <neil@daikokuya.demon.co.uk>
 
        * gcc.dg/cpp/endif.h, gcc.dg/cpp/endif.c: New tests.
index f34c7cf..e7c00dc 100644 (file)
@@ -1,6 +1,7 @@
 // PR middle-end/6247
 // This testcase was miscompiled on IA-32 because a single stack slot
 // was used for 2 different variables at the same time.
+// The function H::h1 was miscompiled.
 // { dg-do run }
 // { dg-options "-O2" }
 
@@ -130,7 +131,7 @@ C C::c1 (const char *x, int y)
   return z;
 }
 
-C::C ()
+C::C () : c (__null)
 {
 }