------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-17 23:47 ------- Subject: Bug 19321
CVSROOT: /cvs/gcc Module name: gcc Branch: apple-ppc-branch Changes by: [EMAIL PROTECTED] 2005-01-17 23:46:57 Modified files: gcc : ChangeLog.apple-ppc c-common.h stub-objc.c gcc/cp : ChangeLog.apple-ppc parser.c gcc/objc : ChangeLog.apple-ppc objc-act.c gcc/testsuite : ChangeLog.apple-ppc Added files: gcc/testsuite/obj-c++.dg: cxx-scope-1.mm cxx-scope-2.mm try-catch-1.mm try-catch-2.mm try-catch-3.mm try-catch-4.mm try-catch-5.mm try-catch-6.mm gcc/testsuite/objc.dg: func-ptr-2.m volatile-1.m Log message: [gcc/ChangeLog.apple-ppc] 2005-01-17 Ziemowit Laski <[EMAIL PROTECTED]> Radar 3951689 * c-common.h (objc_finish_try_stmt, objc_build_synchronized): Return 'tree' instead of 'void'. * stub-objc.c (objc_build_throw_stmt, objc_begin_try_stmt, objc_finish_try_stmt, objc_begin_catch_clause, objc_finish_catch_clause, objc_build_finally_clause, objc_build_synchronized: New stubs. [gcc/cp/ChangeLog.apple-ppc] 2005-01-17 Ziemowit Laski <[EMAIL PROTECTED]> Radar 3955336 * parser.c (cp_parser_objc_message_receiver): Try parsing receiver as an expression first; failing that, as a nested type. 2005-01-17 Ziemowit Laski <[EMAIL PROTECTED]> Radar 3951689 * parser.c (cp_parser_objc_try_catch_finally_statement, cp_parser_objc_synchronized_statement, cp_parser_objc_throw_statement cp_parser_objc_statement): New functions. (cp_parser_statement): Call cp_parser_objc_statement() to parse Objective-C statements. [gcc/objc/ChangeLog.apple-ppc] 2005-01-17 Ziemowit Laski <[EMAIL PROTECTED]> Radar 3955336 * objc-act.c (objc_get_class_reference): In Objective-C++, make sure a type is declared in the global namespace before looking it up as an ObjC class. 2005-01-17 Ziemowit Laski <[EMAIL PROTECTED]> Radar 3953044 (PR objc/19321) * objc-act.c (get_arg_type_list): Decay function arguments into pointers. (objc_push_parm): Likewise; bring PARM_DECL construction closer in line with what the C front-end does. (objc_get_parm_info): Call pushdecl() and finish_decl() on each PARM_DECL, like the C front-end does. (start_method_def): Remove redundant ARRAY_TYPE decay. (objc_start_function): Bring closer in line with what the C front-end does for functions. 2005-01-17 Ziemowit Laski <[EMAIL PROTECTED]> Radar 3951689 * objc-act.c (next_sjlj_build_enter_and_setjmp): For Objective-C++, convert _setjmp() argument to type the function expects. (objc_finish_try_stmt, objc_build_synchronized): Return the resulting statement node. [gcc/testsuite/ChangeLog.apple-ppc] 2005-01-17 Ziemowit Laski <[EMAIL PROTECTED]> Radar 3955336 * obj-c++.dg/cxx-scope-1.mm: New. * obj-c++.dg/cxx-scope-2.mm: New. 2005-01-17 Ziemowit Laski <[EMAIL PROTECTED]> Radar 3953044 (PR objc/19321) * objc.dg/func-ptr-2.m: New. * objc.dg/volatile-1.m: New. 2005-01-17 Ziemowit Laski <[EMAIL PROTECTED]> Radar 3951689 * obj-c++.dg/try-catch-1.mm: New. * obj-c++.dg/try-catch-2.mm: New. * obj-c++.dg/try-catch-3.mm: New. * obj-c++.dg/try-catch-4.mm: New. * obj-c++.dg/try-catch-5.mm: New. * obj-c++.dg/try-catch-6.mm: New. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.1.2.271&r2=1.1.2.272 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.141.2.48.2.24&r2=1.141.2.48.2.25 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/stub-objc.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=2.1.4.1.6.5&r2=2.1.4.1.6.6 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.1.2.29&r2=1.1.2.30 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.32.2.23.2.25&r2=1.32.2.23.2.26 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.1.2.12&r2=1.1.2.13 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-act.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.137.2.33.2.24&r2=1.137.2.33.2.25 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.1.2.83&r2=1.1.2.84 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/obj-c++.dg/cxx-scope-1.mm.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/obj-c++.dg/cxx-scope-2.mm.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/obj-c++.dg/try-catch-1.mm.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/obj-c++.dg/try-catch-2.mm.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/obj-c++.dg/try-catch-3.mm.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/obj-c++.dg/try-catch-4.mm.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/obj-c++.dg/try-catch-5.mm.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/obj-c++.dg/try-catch-6.mm.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/func-ptr-2.m.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/volatile-1.m.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19321