[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 Oct 29 13:00:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997

--- Comment #26 from Iain Sandoe <iains at gcc dot gnu.org> 2011-10-29 12:59:33 UTC ---
Author: iains
Date: Sat Oct 29 12:59:30 2011
New Revision: 180653

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180653
Log:

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.


Modified:
    trunk/gcc/objc/ChangeLog
    trunk/gcc/objc/objc-act.c



More information about the Gcc-bugs mailing list