[LLVMbugs] [Bug 10369] New: __builtin___NSStringMakeConstantString() always uses Mac runtime

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 15 03:48:41 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10369

           Summary: __builtin___NSStringMakeConstantString() always uses
                    Mac runtime
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: csdavec at swan.ac.uk
                CC: llvmbugs at cs.uiuc.edu


Clang is crashing in .c files calling __builtin___NSStringMakeConstantString()
because it trying to create an instance of CGObjCMac (not sure why this crashes
- it should at least just do the wrong thing).  The problem seems to be related
to recent improvements in the driver, so the NeXTRuntime flag is always being
set, because -fgnu-runtime is not being passed to the frontend if the language
is not Objective-C.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list