re PR target/47997 (gcc on macosx: "ld: warning: -fwritable-strings not compatible...
authorIain Sandoe <iains@gcc.gnu.org>
Sat, 29 Oct 2011 12:59:30 +0000 (12:59 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 29 Oct 2011 12:59:30 +0000 (12:59 +0000)
commitf439d6bad9ee840bf7e63e0f7a74440679bb50e0
treeab487a84eafeadabe8dc0e3ac445e9f030ce421d
parent7a59e22a63a4bd1d90d647a461eb91f2e5ec4d7e
re PR target/47997 (gcc on macosx: "ld: warning: -fwritable-strings not compatible with literal CF/NSString")

gcc/objc:

PR target/47997
* objc-act.c (objc_build_string_object): Remove redundant second
call to fix_string_type ().  Add a checking assert that we are,
indeed, passed a STRING_CST.

From-SVN: r180653
gcc/objc/ChangeLog
gcc/objc/objc-act.c