cleanup1.C (C::C()): Initialize member c.
* g++.dg/opt/cleanup1.C (C::C()): Initialize member c. Clarify comment. From-SVN: r52588
This commit is contained in:
parent
562a5c27c2
commit
5b3dc8155f
@ -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.
|
||||
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user