[Bug target/47997] gcc on macosx: "ld: warning: -fwritable-strings not compatible with literal CF/NSString"
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 12 14:14:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #28 from Iain Sandoe <iains at gcc dot gnu.org> 2011-11-12 14:05:03 UTC ---
Author: iains
Date: Sat Nov 12 14:04:58 2011
New Revision: 181314
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181314
Log:
gcc/objc:
Backport from mainline
2011-10-29 Iain Sandoe <iains@gcc.gnu.org>
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.
Modified:
branches/gcc-4_6-branch/gcc/objc/ChangeLog
branches/gcc-4_6-branch/gcc/objc/objc-act.c
More information about the Gcc-bugs
mailing list