]> gcc.gnu.org Git - gcc.git/commit
re PR c++/13113 (Nice warning about &(X::m) lost)
authorMark Mitchell <mark@codesourcery.com>
Mon, 2 Feb 2004 16:53:17 +0000 (16:53 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 2 Feb 2004 16:53:17 +0000 (16:53 +0000)
commite9525111c9a3fabe2244b57e7a6257b708b8f9f5
tree18f97563be8180b80b8d845bab5a84a1cb6453c4
parent7c9201514989cce06b05850f55f3bcd0e3d5e18b
re PR c++/13113 (Nice warning about &(X::m) lost)

PR c++/13113
* init.c (build_offset_ref): Improve error recovery for invalid
uses of non-static member functions.

PR c++/13854
* cp-tree.h (cp_build_type_attribute_variant): New function.
* class.c (build_clone): Use cp_build_type_attribute_variant.
* decl.c (duplicate_decls): Likewise.
* pt.c (copy_default_args_to_explicit_spec): Likewise.
(tsubst_function_type): Likewise.
* tree.c (build_exception_variant): Check attributes before
concluding that two types are the same.
(cp_build_type-attribute_variant): New method.
* typeck.c (merge_types): Use cp_build_type_attribute_variant.

PR c++/13907
* call.c (convert_class_to_reference): Keep better track of
pedantically invalid user-defined conversions.

PR c++/13113
* g++.old-deja/g++.mike/net36.C: Adjust error messages.

PR c++/13854
* g++.dg/ext/attrib13.C: New test.

PR c++/13907
* g++.dg/conversion/op2.C: New test.

From-SVN: r77127
13 files changed:
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/init.c
gcc/cp/pt.c
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/op2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/attrib13.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.mike/net36.C
This page took 0.061075 seconds and 5 git commands to generate.