g++.dg/ext/stmtexpr2.C failure

Jason Merrill jason@redhat.com
Thu Jun 24 23:05:00 GMT 2004


On Thu, 24 Jun 2004 23:24:56 +0200 (CEST), Ulrich Weigand <weigand@i1.informatik.uni-erlangen.de> wrote:

> the g++.dg/ext/stmtexpr2.C case you added 2004-06-18 fails on s390,
> because the test assumes that in the expression 
>   ({ A(10) + A(11); });
> the constructor A(11) must be called before A(10).  However, on s390 
> current mainline emits constructor calls in the other order.  Does 
> C++ really require this particular order, or is this a testcase bug?

Testcase bug, sorry.

Jason



More information about the Gcc mailing list