Commit d6814000 by Mike Stump Committed by Mike Stump

re PR c++/41090 (Using static label reference in c++ class constructor produces wrong code)

	PR c++/41090
	* g++.dg/ext/label13.C (C::C): xfail for darwin for now.

From-SVN: r157172
parent 02d43000
2010-03-02 Mike Stump <mikestump@comcast.net>
PR c++/41090
* g++.dg/ext/label13.C (C::C): xfail for darwin for now.
2010-03-02 Paul Thomas <pault@gcc.gnu.org> 2010-03-02 Paul Thomas <pault@gcc.gnu.org>
PR fortran/43180 PR fortran/43180
......
...@@ -8,7 +8,7 @@ struct C ...@@ -8,7 +8,7 @@ struct C
C(); C();
}; };
C::C() C::C() // { dg-bogus "can never be copied" "" { xfail *-apple-darwin* } }
{ {
static void *labelref = &&label; static void *labelref = &&label;
goto *labelref; goto *labelref;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment