This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/47997] gcc on macosx: "ld: warning: -fwritable-strings not compatible with literal CF/NSString"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]