Commit fb0b79e5 by Mark Mitchell

Fix PR# in ChangeLog:

	PR c++/31338
	* cp-tree.h (ARITHMETIC_TYPE): Include COMPLEX_TYPE.
	* typeck.c (type_after_usual_arithmetic_conversions): Adjust, as
	COMPLEX_TYPE is now an ARITHMETIC_TYPE.
	* init.c (build_zero_init): Adjust, as
	COMPLEX_TYPE is now a SCALAR_TYPE.
	* typeck2.c (digest_init): Allow brace-enclosed initializers for
	COMPLEX_TYPE, even though that is now a SCALAR_TYPE.

	PR c++/31338
	* g++.dg/ext/complex2.C: New test.

From-SVN: r124173
parent b8063b29
2007-04-24 Mark Mitchell <mark@codesourcery.com>
PR c++/31388
PR c++/31338
* cp-tree.h (ARITHMETIC_TYPE): Include COMPLEX_TYPE.
* typeck.c (type_after_usual_arithmetic_conversions): Adjust, as
COMPLEX_TYPE is now an ARITHMETIC_TYPE.
......
2007-04-24 Mark Mitchell <mark@codesourcery.com>
PR c++/31338
* g++.dg/ext/complex2.C: New test.
2007-04-25 Paolo Carlini <pcarlini@suse.de>
* g++.dg/ext/has_nothrow_assign.C: Adjust per N2255.
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