diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2005-08-15 20:38:23 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@gcc.gnu.org> | 2005-08-15 20:38:23 +0000 |
commit | 30f86ec3fba12cb0574db51d75d3355f7264aa77 (patch) | |
tree | 9eb1bd6359f4248ee64777e3f0ec9b93df966070 /gcc/java/java-tree.h | |
parent | be53afcf39fe960cc00e151afc7776683f0a677d (diff) | |
download | gcc-30f86ec3fba12cb0574db51d75d3355f7264aa77.zip gcc-30f86ec3fba12cb0574db51d75d3355f7264aa77.tar.gz gcc-30f86ec3fba12cb0574db51d75d3355f7264aa77.tar.bz2 |
Fix Infinite Stack Recursion Regression.
* cp-tree.h (can_convert_arg, fn_type_unification): New argument.
* call.c (add_template_candidate_real): Pass down 'flags' to
fn_type_unification.
(can_convert_arg): New 'flags' argument. Pass it to call to
implicit_conversion instead of LOOKUP_NORMAL.
(can_convert): Add LOOKUP_NORMAL to call to can_convert_arg.
* class.c (resolve_address_of_overloaded_function): Ditto.
(resolve_address_of_overloaded_function): Ditto.
* decl.c (reshape_init, check_default_argument): Ditto.
* typeck.c (build_ptrmemfunc): Ditto.
* pt.c (type_unification_real): Add 'flags' argument.
(fn_type_unification): Pass 'flags' to type_unification_real.
(type_unification_real): Pass new 'flags' argument to call to
can_convert_arg.
Oked by Geoff Keating.
From-SVN: r103120
Diffstat (limited to 'gcc/java/java-tree.h')
0 files changed, 0 insertions, 0 deletions