[llvm-bugs] [Bug 26277] New: [libc++][mips] ~35 diagnostic tests fail because errors do not prevent GAS being called (and one other reason)

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jan 23 15:09:26 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26277

            Bug ID: 26277
           Summary: [libc++][mips] ~35 diagnostic tests fail because
                    errors do not prevent GAS being called (and one other
                    reason)
           Product: libc++
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: daniel.sanders at imgtec.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
    Classification: Unclassified

This failure is a representative example for Mips:
    libc++ :: std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.fail.cpp

One workaround seems to be adding -fintegrated-as but there's presumably a bug
in clang that this leaves unaddressed.

In addition, when I tried -save-temps, the verifier failed to find error
messages due to line wrapping caused by long paths. For example:
/scratch/mipssw1erpro002/das-local/llvm-3.8/release/rc1/libcxx.src/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.fail.cpp:32:9:
error: 
      call to deleted function 'cref'
        cref(std::get<0>(tup4()));  // expected-error {{call to deleted
function 'cref'}}
        ^~~~
<snip>
error: 'error' diagnostics expected but not seen:
  File
/scratch/mipssw1erpro002/das-local/llvm-3.8/release/rc1/libcxx.src/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.fail.cpp
Line 32: call to deleted function 'cref'

With a shorter filename, both parts appear on the same line and the verifier
doesn't report failure.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160123/e560b75e/attachment.html>


More information about the llvm-bugs mailing list