This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.apple-ppc c-common.h c-typec ...
- From: zlaski at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 17 Feb 2005 09:00:50 -0000
- Subject: gcc/gcc ChangeLog.apple-ppc c-common.h c-typec ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: apple-ppc-branch
Changes by: zlaski@gcc.gnu.org 2005-02-17 09:00:49
Modified files:
gcc : ChangeLog.apple-ppc c-common.h c-typeck.c c.opt
calls.c reg-notes.def stub-objc.c
gcc/config : darwin-protos.h darwin.c darwin.h
gcc/config/rs6000: rs6000.md
gcc/cp : ChangeLog.apple-ppc tree.c typeck.c
gcc/objc : ChangeLog.apple-ppc objc-act.c objc-act.h
gcc/testsuite : ChangeLog.apple-ppc
Added files:
gcc/testsuite/obj-c++.dg: objc-fast-1.mm objc-fast-2.mm
objc-gc-1.mm objc-gc-2.mm
gcc/testsuite/objc.dg: next-runtime-1.m objc-fast-1.m
objc-fast-2.m objc-gc-1.m objc-gc-2.m
objc-gc-3.m
Log message:
[gcc/ChangeLog.apple-ppc]
2005-02-17 Ziemowit Laski <zlaski@apple.com>
Radar 3635843, 3922342
* c-common.h (objc_generate_write_barrier): New prototype.
* c-typeck.c (lvalue_or_else): Do not emit warning if
'-Wno-non-lvalue-assign' has been specified.
(build_modify_expr): Call objc_generate_write_barrier() if
'-fobjc-gc' has been specified.
* c.opt (-Wassign-intercept, -Wnon-lvalue-assign,
-fobjc-direct-dispatch, -fobjc-gc): New options.
* calls.c (emit_call_1): For functions with 'hard_coded_address'
attribute, annotate the RTL call instruction with the address
to use.
* reg-notes.def (ABSCALL): New RTL annotation.
* stub-objc.c (objc_generate_write_barrier): New stub.
* config/darwin-protos.h (darwin_handle_objc_gc_attribute):
New prototype.
* config/darwin.c (darwin_handle_objc_gc_attribute): New function.
* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add
'-Wno-non-lvalue-assign' whenever '-fobjc-gc' is seen.
(SUBTARGET_OS_CPP_BUILTINS): Define '__strong' and '__OBJC_GC__'
macros as needed.
(SUBTARGET_ATTRIBUTE_TABLE): Add 'objc_gc' attribute.
* config/rs6000/rs6000.md (call_value_nonlocal_sysv,
sibcall_value_symbolic): Add handling of ABSCALL annotations.
[gcc/cp/ChangeLog.apple-ppc]
2005-02-17 Ziemowit Laski <zlaski@apple.com>
Radar 3635843, 3922342
* tree.c (lvalue_or_else): Do not emit warning if
'-Wno-non-lvalue-assign' has been specified.
* typeck.c (build_modify_expr): Call
objc_generate_write_barrier() if '-fobjc-gc' has been specified.
[gcc/objc/ChangeLog.apple-ppc]
2005-02-17 Ziemowit Laski <zlaski@apple.com>
Radar 3635843, 3922342
* objc-act.c (OBJC_VERSION): Bump to '6' for the NeXT.
(objc_is_gcable_type, objc_substitute_decl,
objc_build_ivar_assignment, objc_build_global_assignment,
objc_build_strong_cast_assignment, objc_is_gcable_p,
objc_is_ivar_reference_p, objc_is_global_reference_p,
objc_generate_write_barrier): New functions.
(TAG_ASSIGNIVAR, TAG_ASSIGNGLOBAL, TAG_ASSIGNSTRONGCAST,
TAG_MSGSEND_FAST, TAG_ASSIGNIVAR_FAST, OFFS_MSGSEND_FAST,
OFFS_ASSIGNIVAR_FAST): New macros.
(synth_module_prologue): Synthesize 'objc_msgSend_Fast'
function prototype.
(build_next_objc_exception_stuff): Synthesize
'objc_assign_ivar', 'objc_assign_ivar_Fast',
'objc_assign_global' and 'objc_assign_strongCast'
function prototypes.
(build_objc_method_call): Call 'objc_msgSend_Fast'
instead of 'objc_msgSend' if '-fobjc-direct-dispatch'
has been specified.
(finish_objc): Generate image info if '-fobjc-gc'
has been specified.
(generate_objc_image_info): Set a bit indicating if
'-fobjc-gc' has been specified.
* objc-act.h (OCTI_UMSG_FAST_DECL, OCTI_ASSIGN_IVAR_DECL,
OCTI_ASSIGN_IVAR_FAST_DECL, OCTI_ASSIGN_GLOBAL_DECL,
OCTI_ASSIGN_STRONGCAST_DECL): New enum slots.
(umsg_fast_decl, objc_assign_ivar_decl,
objc_assign_ivar_fast_decl, objc_assign_global_decl,
objc_assign_strong_cast_decl): New slot accessors.
[gcc/testsuite/ChangeLog.apple-ppc]
2005-02-17 Ziemowit Laski <zlaski@apple.com>
Radar 3635843, 3922342
* obj-c++.dg/objc-fast-1.mm: New.
* obj-c++.dg/objc-fast-2.mm: New.
* obj-c++.dg/objc-gc-1.mm: New.
* obj-c++.dg/objc-gc-2.mm: New.
* objc.dg/next-runtime-1.m: New.
* objc.dg/objc-fast-1.m: New.
* objc.dg/objc-fast-2.m: New.
* objc.dg/objc-gc-1.m: New.
* objc.dg/objc-gc-2.m: New.
* objc.dg/objc-gc-3.m: 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.309&r2=1.1.2.310
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.26&r2=1.141.2.48.2.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.196.2.43.2.27&r2=1.196.2.43.2.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c.opt.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.11.2.9.2.26&r2=1.11.2.9.2.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/calls.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.229.2.47.2.14&r2=1.229.2.47.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reg-notes.def.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=2.1.6.3&r2=2.1.6.4
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.6&r2=2.1.4.1.6.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/darwin-protos.h.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.13.2.14.2.14&r2=1.13.2.14.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/darwin.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.22.2.24.2.42&r2=1.22.2.24.2.43
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/darwin.h.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.30.2.28.2.50&r2=1.30.2.28.2.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.190.2.41.2.27&r2=1.190.2.41.2.28
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.45&r2=1.1.2.46
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.286.2.48.2.15&r2=1.286.2.48.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.408.2.43.2.29&r2=1.408.2.43.2.30
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.20&r2=1.1.2.21
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.32&r2=1.137.2.33.2.33
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-act.h.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.10.2.9.6.13&r2=1.10.2.9.6.14
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.118&r2=1.1.2.119
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/obj-c++.dg/objc-fast-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/objc-fast-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/objc-gc-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/objc-gc-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/objc.dg/next-runtime-1.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/objc-fast-1.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/objc-fast-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/objc-gc-1.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/objc-gc-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/objc-gc-3.m.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1