cleanup1.C (C::C()): Initialize member c.

* g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
	Clarify comment.

From-SVN: r52589
This commit is contained in:
Hans-Peter Nilsson 2002-04-21 20:34:30 +00:00 committed by Hans-Peter Nilsson
parent e27febae09
commit 71189e76f1
2 changed files with 7 additions and 1 deletions

View 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 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20000906-1.x: Delete.

View 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)
{
}