aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-03-16 22:18:11 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-03-16 22:18:11 +0000
commitec835fb2bfc25fb747550aec56d261042659bc54 (patch)
treec0d3485bbb98b41f57f677cc06f2b3179fd1f192 /gcc/java
parent1e0f07d3952be55a453ad3ac7c326481b82f0d59 (diff)
downloadgcc-ec835fb2bfc25fb747550aec56d261042659bc54.zip
gcc-ec835fb2bfc25fb747550aec56d261042659bc54.tar.gz
gcc-ec835fb2bfc25fb747550aec56d261042659bc54.tar.bz2
re PR c++/14586 (Bogus warning in templates about taking address of a temporary in a template)
PR c++/14586 * cp-tree.h (build_new_op): Change prototype. (build_x_binary_op): Likewise. * call.c (build_new_op): Add overloaded_p parameter. * decl2.c (grok_array_decl): Adjust call to build_new_op. * parser.c (cp_parser_binary_expression): Note that uses of overloaded operators prevents an expression from being considered an integral constant. * pt.c (tsubst_copy_and_build): Adjust calls to build_new_op and/or build_x_binary_op. * semantics.c (finish_call_expr): Likewise. * typeck.c (rationalize_conditional_expr): Likewise. (build_x_indirect_ref): Likewise. (build_x_binary_op): Likewise. (build_x_unary_op): Likewise. (build_x_compound_expr): Likewise. (build_modify_expr): Likewise. * typeck2.c (build_x_arrow): Likewise. PR c++/14586 * g++.dg/parse/non-dependent3.C: New test. From-SVN: r79553
Diffstat (limited to 'gcc/java')
0 files changed, 0 insertions, 0 deletions