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

Ulrich Weigand weigand@i1.informatik.uni-erlangen.de
Thu Jun 24 21:41:00 GMT 2004


Jason,

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?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de



More information about the Gcc mailing list