diff options
| author | Mark Mitchell <mark@codesourcery.com> | 2003-07-06 03:30:57 +0000 | 
|---|---|---|
| committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-07-06 03:30:57 +0000 | 
| commit | 0a72704b04e73d1173ae5e1c99464bea55a698b4 (patch) | |
| tree | 056d5a4f42966fc1a6672ee25eb4c64a77754dbf /libjava/java/net/natInetAddressNoNet.cc | |
| parent | ac3d7b441379a5992280022a730eb5b1a57e0784 (diff) | |
| download | gcc-0a72704b04e73d1173ae5e1c99464bea55a698b4.zip gcc-0a72704b04e73d1173ae5e1c99464bea55a698b4.tar.gz gcc-0a72704b04e73d1173ae5e1c99464bea55a698b4.tar.bz2 | |
re PR c++/11431 (static_cast behavior with subclasses when default constructor available)
	PR c++/11431
	* typeck.c (build_static_cast): Check for reference conversions
	earlier.
	* cp-tree.h (perform_integral_promotions): Declare.
	* call.c (build_addr_func): Use decay_conversion.
	(convert_arg_to_ellipsis): Likewise.  Remove misleading comment.
	(convert_for_arg_passing): Use perform_integral_promotions.
	* cvt.c (build_expr_type_conversion): Use decay_conversion.
	(type_promotes_to): Do not return a cv-qualified type.
	* decl.c (grok_reference_init): Fix formatting.
	(get_atexit_node): Use decay_conversion.
	(build_enumerator): Use perform_integral_promotions.
	* init.c (build_vec_init): Use decay_conversion.
	* semantics.c (finish_expr_stmt): Likewise.
	(finish_switch_cond): Use perform_integral_promotions.
	* typeck.c (default_conversion): Likewise.
	(perform_integral_promotions): New function.
	(build_indirect_ref): Use decay_conversion.
	(build_array_ref): Use perform_integral_promotions.
	(convert_arguments): Use decay_conversion.
	(build_unary_op): Use perform_integral_promotions.
	(build_c_cast): Use decay_conversion.
	(build_modify_expr): Likewise.
	(convert_for_initialization): Likewise.
	* typeck2.c (build_x_arrow): Likewise.
	* g++.old-deja/g++.jason/typeid1.C: Make it a compile test, not a
	run test.
	PR c++/11431
	* g++.dg/expr/static_cast3.C: New test.
From-SVN: r68989
Diffstat (limited to 'libjava/java/net/natInetAddressNoNet.cc')
0 files changed, 0 insertions, 0 deletions
