This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g++.dg/ext/stmtexpr2.C failure
- From: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- To: jason at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 24 Jun 2004 23:24:56 +0200 (CEST)
- Subject: g++.dg/ext/stmtexpr2.C failure
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