https://llvm.org/bugs/show_bug.cgi?id=30782
Bug ID: 30782 Summary: [Regression] test/std/language.support/support.types/nullptr_t.pass .cpp fails Product: libc++ Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: unassignedclangb...@nondot.org Reporter: ism...@i10z.com CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com Classification: Unclassified This one is a new regression on openSUSE Linux x86-64. Testing r285055: [ 9759s] "/home/abuild/rpmbuild/BUILD/llvm/stage1/bin/clang-4.0" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name nullptr_t.pass.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -v -dwarf-column-info -debugger-tuning=gdb -coverage-notes-file /home/abuild/rpmbuild/BUILD/llvm/stage2/projects/libcxx/test/std/language.support/support.types/Output/nullptr_t.pass.cpp.gcno -nostdinc++ -resource-dir /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/../lib64/clang/4.0.0 -include /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/support/nasty_macros.hpp -I /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/include -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -I /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/support -D "LIBCXX_FILESYSTEM_STATIC_TEST_ROOT=\"/home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/experimental/filesystem/Inputs/static_test_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT=\"/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/libcxx/test/filesystem/Output/dynamic_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER=\"/usr/bin/python2.7 /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py\"" -internal-isystem /usr/local/include -internal-isystem /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/../lib64/clang/4.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Werror=thread-safety -std=c++1z -fdeprecated-macro -fdebug-compilation-dir /home/abuild/rpmbuild/BUILD/llvm/stage2/projects/libcxx/test/std/language.support/support.types -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o /home/abuild/rpmbuild/BUILD/llvm/stage2/projects/libcxx/test/std/language.support/support.types/Output/nullptr_t.pass.cpp.o -x c++ /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp [ 9759s] clang -cc1 version 4.0.0 based upon LLVM 4.0.0svn default target x86_64-unknown-linux-gnu [ 9759s] ignoring nonexistent directory "/include" [ 9759s] #include "..." search starts here: [ 9759s] #include <...> search starts here: [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/include [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/support [ 9759s] /usr/local/include [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/../lib64/clang/4.0.0/include [ 9759s] /usr/include [ 9759s] End of search list. [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:42:14: error: invalid operands to binary expression ('nullptr_t' and 'nullptr_t') [ 9759s] assert(p <= nullptr); [ 9759s] ~ ^ ~~~~~~~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:92:9: note: in instantiation of function template specialization 'test_comparisons<nullptr_t>' requested here [ 9759s] test_comparisons<std::nullptr_t>(); [ 9759s] ^ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:43:14: error: invalid operands to binary expression ('nullptr_t' and 'nullptr_t') [ 9759s] assert(p >= nullptr); [ 9759s] ~ ^ ~~~~~~~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:45:16: error: invalid operands to binary expression ('nullptr_t' and 'nullptr_t') [ 9759s] assert(!(p < nullptr)); [ 9759s] ~ ^ ~~~~~~~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:46:16: error: invalid operands to binary expression ('nullptr_t' and 'nullptr_t') [ 9759s] assert(!(p > nullptr)); [ 9759s] ~ ^ ~~~~~~~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:48:20: error: invalid operands to binary expression ('nullptr_t' and 'nullptr_t') [ 9759s] assert(nullptr <= p); [ 9759s] ~~~~~~~ ^ ~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:49:20: error: invalid operands to binary expression ('nullptr_t' and 'nullptr_t') [ 9759s] assert(nullptr >= p); [ 9759s] ~~~~~~~ ^ ~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:51:22: error: invalid operands to binary expression ('nullptr_t' and 'nullptr_t') [ 9759s] assert(!(nullptr < p)); [ 9759s] ~~~~~~~ ^ ~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:52:22: error: invalid operands to binary expression ('nullptr_t' and 'nullptr_t') [ 9759s] assert(!(nullptr > p)); [ 9759s] ~~~~~~~ ^ ~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:42:14: error: invalid operands to binary expression ('void *' and 'nullptr_t') [ 9759s] assert(p <= nullptr); [ 9759s] ~ ^ ~~~~~~~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:93:9: note: in instantiation of function template [ 9687.641027] serial8250: too much work for irq4 [ 9759s] specialization 'test_comparisons<void *>' requested here [ 9759s] test_comparisons<void*>(); [ 9759s] ^ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:43:14: error: invalid operands to binary expression ('void *' and 'nullptr_t') [ 9759s] assert(p >= nullptr); [ 9759s] ~ ^ ~~~~~~~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:45:16: error: invalid operands to binary expression ('void *' and 'nullptr_t') [ 9759s] assert(!(p < nullptr)); [ 9759s] ~ ^ ~~~~~~~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:46:16: error: invalid operands to binary expression ('void *' and 'nullptr_t') [ 9759s] assert(!(p > nullptr)); [ 9759s] ~ ^ ~~~~~~~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:48:20: error: invalid operands to binary expression ('nullptr_t' and 'void *') [ 9759s] assert(nullptr <= p); [ 9759s] ~~~~~~~ ^ ~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:49:20: error: invalid operands to binary expression ('nullptr_t' and 'void *') [ 9759s] assert(nullptr >= p); [ 9759s] ~~~~~~~ ^ ~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:51:22: error: invalid operands to binary expression ('nullptr_t' and 'void *') [ 9759s] assert(!(nullptr < p)); [ 9759s] ~~~~~~~ ^ ~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:52:22: error: invalid operands to binary expression ('nullptr_t' and 'void *') [ 9759s] assert(!(nullptr > p)); [ 9759s] ~~~~~~~ ^ ~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:42:14: error: invalid operands to binary expression ('A *' and 'nullptr_t') [ 9759s] assert(p <= nullptr); [ 9759s] ~ ^ ~~~~~~~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:94:9: note: in instantiation of function template specialization 'test_comparisons<A *>' requested here [ 9759s] test_comparisons<A*>(); [ 9759s] ^ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:43:14: error: invalid operands to binary expression ('A *' and 'nullptr_t') [ 9759s] assert(p >= nullptr); [ 9759s] ~ ^ ~~~~~~~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] /home/abuild/rpmbuild/BUILD/llvm/projects/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp:45:16: error: invalid operands to binary expression ('A *' and 'nullptr_t') [ 9759s] assert(!(p < nullptr)); [ 9759s] ~ ^ ~~~~~~~ [ 9759s] /usr/include/assert.h:86:5: note: expanded from macro 'assert' [ 9759s] ((expr) \ [ 9759s] ^~~~ [ 9759s] fatal error: too many errors emitted, stopping now [-ferror-limit=] [ 9759s] 20 errors generated. [ 9759s] -- [ 9759s] [ 9759s] Compilation failed unexpectedly! [ 9759s] ******************** -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs