re PR c++/7129 (ICE with min/max assignment operators (<?= and >?=))
authorMark Mitchell <mark@codesourcery.com>
Tue, 4 Feb 2003 07:23:14 +0000 (07:23 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 4 Feb 2003 07:23:14 +0000 (07:23 +0000)
commitb80f8ef3024762d4d46bdd0cdfd1c9e1b3229c8a
tree24fa99d18a5f9c7f599d81c1d05d6ed1cc2e1f5e
parentb3a8389d1892fa92870da786523894ad36c8f991
re PR c++/7129 (ICE with min/max assignment operators (<?= and >?=))

PR c++/7129
* call.c (z_candidate): Add args.
(convert_class_to_reference): Set it.
(implicit_conversion): Tidy.
(add_candidate): Add args parameter.
(add_function_candidate): Adjust call to add_candidate.
(add_conv_candidate): Likewise.
(build_builtin_candidate): Likewise.
(build_user_type_conversion_1): Eliminate wasteful tree_cons
usage.
(build_new_function_call): Likewise.
(build_object_call): Likewise.
(add_candidates): New function.
(build_new_op): Use it.
(covert_like_real): Adjust call to build_over_call.
(build_over_call): Remove args parameter.
* operators.def: Add <?= and >?=.

PR c++/7129
* testsuite/g++.dg/ext/max.C: New test.

From-SVN: r62370
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/operators.def
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/max.C [new file with mode: 0644]