gcc/gcc ChangeLog.apple-ppc c-common.c c-opts. ...
dpatel@gcc.gnu.org
dpatel@gcc.gnu.org
Mon Aug 2 19:57:00 GMT 2004
CVSROOT: /cvs/gcc
Module name: gcc
Branch: apple-ppc-branch
Changes by: dpatel@gcc.gnu.org 2004-08-02 19:57:15
Modified files:
gcc : ChangeLog.apple-ppc c-common.c c-opts.c
common.opt flags.h opts.c toplev.c varasm.c
gcc/config : darwin.c
gcc/cp : ChangeLog.apple-ppc decl.c
gcc/doc : invoke.texi trouble.texi
gcc/testsuite : ChangeLog.apple-ppc
Added files:
gcc/testsuite/gcc.apple: fwritable-strings.c
Log message:
Re-implement -fwritable-strings support. Reviewed by Geoff.
Radar : 3699482
* c-common.c (fix_string_type): Check flag_writable_strings.
(fix_string_type): Likewise.
* c-opts.c (set_std_c89): Initialize flag_writable_strings.
(set_std_c99): Likewise.
* common.opt (fwritable-strings): Add.
* flags.h: Add the external declaration of
flag_writable_strings.
* opts.c (common_handle_option) <OPT_fwritable_strings>:
Add.
* toplev.c (flag_writable_strings): Add.
(f_options): Add an entry for writable-strings.
* varasm.c (const_hash_1) <STRING_CST>: Check
flag_writable_strings.
(compare_constant) <STRING_CST>: Likewise.
(build_constant_desc): Likewise.
* config/darwin.c (machopic_select_section): Likewise.
* doc/invoke.texi (-fwritable-strings): Add.
(-fno-const-strings): Document -fwritable-strings.
* doc/trouble.texi: Document -fwritable-strings.
* decl.c (cxx_init_decl_processing): Check flag_writable_strings.
* gcc.apple/fwritable-strings.c: New test.
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.103&r2=1.1.2.104
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.344.2.64.2.11&r2=1.344.2.64.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-opts.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.7.2.30.2.12&r2=1.7.2.30.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/common.opt.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.14.2.25.2.9&r2=1.14.2.25.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/flags.h.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.86.2.51.2.9&r2=1.86.2.51.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/opts.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.31.2.33.2.12&r2=1.31.2.33.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.654.2.106.2.9&r2=1.654.2.106.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/varasm.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.295.2.47.2.14&r2=1.295.2.47.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.13&r2=1.22.2.24.2.14
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.3&r2=1.1.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.911.2.67.2.8&r2=1.911.2.67.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.152.2.84.2.14&r2=1.152.2.84.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/trouble.texi.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.7.4.11.2.1&r2=1.7.4.11.2.2
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.16&r2=1.1.2.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.apple/fwritable-strings.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=NONE&r2=1.1.2.1
More information about the Gcc-cvs
mailing list