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
This commit is contained in:
parent
b8063b2909
commit
fb0b79e587
2 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
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.
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue