[LLVMbugs] [Bug 13133] New: RH 5.4 RHEL CLANG exaples gives error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jun 17 22:29:34 PDT 2012


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

             Bug #: 13133
           Summary: RH 5.4 RHEL CLANG exaples gives error
           Product: Test Suite
           Version: trunk
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Programs Tests
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: satyaprakash.prasad at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Box>/LLVM/build/tools/clang 1125> make test
make[1]: Entering directory `/LLVM/build/tools/clang/test'
Making Clang 'lit.site.cfg' file...
Making Clang 'Unit/lit.site.cfg' file...
--- Running clang tests for x86_64-unknown-linux-gnu ---
lit.py: lit.cfg:175: note: using clang: '/LLVM/build/Release+Asserts/bin/clang'
-- Testing: 4734 tests, 16 threads --
Testing: 0
FAIL: Clang :: Analysis/iterators.cpp (187 of 4734)
******************** TEST 'Clang :: Analysis/iterators.cpp' FAILED
********************
Script:
--
LLVM/build/Release+Asserts/bin/clang  --analyze -Xclang
-analyzer-checker=core,experimental.cplusplus.Iterators -Xclang -verify
LLVM/llvm/tools/clang/test/Analysis/iterators.cpp
--
Exit Code: 1
Command Output (stderr):
--
error: 'error' diagnostics seen but not expected:
  Line 100: weakref declaration must have internal linkage
  Line 101: weakref declaration must have internal linkage
  Line 102: weakref declaration must have internal linkage
  Line 103: weakref declaration must have internal linkage
  Line 104: weakref declaration must have internal linkage
  Line 105: weakref declaration must have internal linkage
  Line 106: weakref declaration must have internal linkage
  Line 107: weakref declaration must have internal linkage
  Line 108: weakref declaration must have internal linkage
  Line 109: weakref declaration must have internal linkage
  Line 110: weakref declaration must have internal linkage
  Line 113: weakref declaration must have internal linkage
  Line 114: weakref declaration must have internal linkage
  Line 115: weakref declaration must have internal linkage
  Line 116: weakref declaration must have internal linkage
  Line 117: weakref declaration must have internal linkage
error: 'warning' diagnostics expected but not seen:
  Line 12: Use of iterator that is not defined
  Line 13: Use of iterator that is not defined
  Line 27: Cannot compare iterators from different containers
  Line 50: Attempt to use an iterator made invalid by call to 'insert'
  Line 55: Attempt to use an iterator made invalid by call to 'erase'
  Line 56: Attempt to use an iterator made invalid by call to 'erase'
  Line 57: Attempt to use an iterator made invalid by call to 'erase'
  Line 58: Attempt to use an iterator made invalid by call to 'erase'
  Line 59: Attempt to use an iterator made invalid by call to 'erase'
  Line 60: Attempt to use an iterator made invalid by call to 'erase'
  Line 61: Attempt to use an iterator made invalid by call to 'erase'
  Line 75: Attempt to use an iterator made invalid by call to 'insert'
  Line 76: Attempt to use an iterator made invalid by call to 'insert'
  Line 88: Attempt to use an iterator made invalid by call to 'reserve'
  Line 103: Attempt to use an iterator made invalid by copying another
container
31 errors generated.
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 52.20s
********************
Failing Tests (1):
    Clang :: Analysis/iterators.cpp

  Expected Passes    : 4705
  Expected Failures  : 27
  Unsupported Tests  : 1
  Unexpected Failures: 1
make[1]: *** [all] Error 1
make[1]: Leaving directory `/LLVM/build/tools/clang/test'
make: *** [test] Error 2
Box>/LLVM/build/tools/clang 1126>

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