[LLVMbugs] [Bug 13304] New: Infinite loop while compiling

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 9 08:44:41 PDT 2012


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

             Bug #: 13304
           Summary: Infinite loop while compiling
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8857
  --> http://llvm.org/bugs/attachment.cgi?id=8857
repro

clang hangs forever after printing that it'll stop printing errors now:


noname:delta thakis$ ~/src/llvm/Release+Asserts/bin/clang -c repro.mii
In file included from source.mm:2:
In file included from source.mm:2:
In file included from
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:70:
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
 namespace std {    template<typename _InputIterator>     inline typename
iterator_traits<_InputIterator>::difference_type...
 ^
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: 
      expected unqualified-id
fatal error: too many errors emitted, stopping now [-ferror-limit=]





When running with -cc1, it keeps printing this line:

/Volumes/Build/Users/qsr/Desktop/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h:13:2:
error: expected unqualified-id

-- 
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