2014-04-16 Patrick Palka <patrick@parcs.ath.cx>
commit6da7682f86de3d64d68f5956afcf1f120586dd4a
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Apr 2014 20:17:46 +0000 (16 20:17 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Apr 2014 20:17:46 +0000 (16 20:17 +0000)
treee7822e302c3d16d9c57a14e379abd21bb382e21a
parentfa5a8e68df5b1d683dd94ce81b7e0a471f4de610
2014-04-16  Patrick Palka  <patrick@parcs.ath.cx>

PR c++/60765
* decl2.c (cplus_decl_attributes): Handle
pointer-to-member-function declarations.

2014-04-16  Patrick Palka  <patrick@parcs.ath.cx>

PR c++/60764
* call.c (build_user_type_coversion): Use build_dummy_object
to create the placeholder object for a constructor method call.
(build_special_member_call): Likewise.
(build_over_call): Check for the placeholder object with
is_dummy_object.
(build_new_method_call_1): Likewise.  Don't attempt to resolve
a dummy object for a constructor method call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209447 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl2.c
gcc/testsuite/g++.dg/cpp0x/gen-attrs-36-1.C
gcc/testsuite/g++.dg/ext/attrib49.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/nonnull2.C [new file with mode: 0644]