In gcc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Sep 2010 22:21:39 +0000 (22:21 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Sep 2010 22:21:39 +0000 (22:21 +0000)
commit1f3a51d65eff45f64b58800db5fe253d68771664
tree680cb9863c1843acf4a5ee0d2815beb43af9ab54
parent1d257f45bdf49b3ccf2d270205a295dfd4f24e68
In gcc/:
        * c-typeck.c (convert_arguments): Use warning 'too many arguments
        to method [methodname]' for an Objective-C method instead of the
        less satisfactory 'too many arguments to function' (with no method
        name).
In gcc/cp/:
        * typeck.c (warn_args_num): Use warning 'too many arguments to
        method [methodname]' for an Objective-C method instead of the less
        satisfactory 'too many arguments to function' (with no method
        name).
In gcc/testsuite/:
        * obj-c++.dg/too-many-args.mm: New file.
        Merge from 'apple/trunk' branch on FSF servers.

        2006-03-27 Fariborz Jahanian <fjahanian@apple.com>

        Radar 4491608
        * objc.dg/too-many-args.m: New

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164573 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/too-many-args.mm [new file with mode: 0644]
gcc/testsuite/objc.dg/too-many-args.m [new file with mode: 0644]