[llvm-bugs] [Bug 31645] New: P0031 not complety implemented
https://llvm.org/bugs/show_bug.cgi?id=31645 Bug ID: 31645 Summary: P0031 not complety implemented Product: libc++ Version: 4.0 Hardware: Other OS: Linux Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: unassignedclangb...@nondot.org Reporter: rhalber...@gmail.com CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com Classification: Unclassified P0031 is marked completed on the libc++ staus page. However, several non-const array member functions (front, back, operator[]) have not been marked constexpr yet. -- 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
[llvm-bugs] [Bug 31646] New: alpha.deadcode.UnreachableCode false positive
https://llvm.org/bugs/show_bug.cgi?id=31646 Bug ID: 31646 Summary: alpha.deadcode.UnreachableCode false positive Product: clang Version: 4.0 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Static Analyzer Assignee: kreme...@apple.com Reporter: bagn...@cs.unipr.it CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 17842 --> https://llvm.org/bugs/attachment.cgi?id=17842&action=edit Testcase allowing reproduction of the problem. $ cat z.c union U { int a; }; int foo(union U u) { return u.a ? 1 : 0; } $ clang-4.0 -cc1 -analyze -analyzer-checker=alpha.deadcode.UnreachableCode z.c z.c:6:20: warning: This statement is never executed return u.a ? 1 : 0; ^ 1 warning generated. $ clang-4.0 --version clang version 4.0.0-svn291446-1~exp1 (trunk) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin $ -- 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
[llvm-bugs] [Bug 27488] [StructurizeCFG] lit test hits assert in verifyDomTree when compiled w/ XDEBUG
https://llvm.org/bugs/show_bug.cgi?id=27488 Florian Hahn changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Florian Hahn --- Looks like this has been fixed recently, the test passes with commit 69a1a206137260ab53ce2ed5dee6bff38efd1f46 and LLVM_ENABLE_EXPENSIVE_CHECKS (XDEBUG). -- 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
[llvm-bugs] [Bug 27738] ptxas miscompile with divergent branches and convergent operations
https://llvm.org/bugs/show_bug.cgi?id=27738 Bug 27738 depends on bug 27488, which changed state. Bug 27488 Summary: [StructurizeCFG] lit test hits assert in verifyDomTree when compiled w/ XDEBUG https://llvm.org/bugs/show_bug.cgi?id=27488 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- 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
[llvm-bugs] [Bug 30999] LLVM_ENABLE_EXPENSIVE_CHECKS reveals 540 failures.
https://llvm.org/bugs/show_bug.cgi?id=30999 Bug 30999 depends on bug 27488, which changed state. Bug 27488 Summary: [StructurizeCFG] lit test hits assert in verifyDomTree when compiled w/ XDEBUG https://llvm.org/bugs/show_bug.cgi?id=27488 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- 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
[llvm-bugs] [Bug 31022] No packages for Ubuntu 16.10
https://llvm.org/bugs/show_bug.cgi?id=31022 Sylvestre Ledru changed: What|Removed |Added Status|NEW |RESOLVED CC||sylves...@debian.org Resolution|--- |FIXED Assignee|unassignedb...@nondot.org |sylves...@debian.org --- Comment #1 from Sylvestre Ledru --- Done: # 5.0 deb http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety main deb-src http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety main # 3.8 deb http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety-3.8 main deb-src http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety-3.8 main # 3.9 deb http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety-3.9 main deb-src http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety-3.9 main # 4.0 deb http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety-4.0 main deb-src http://apt.llvm.org/yakkety/ llvm-toolchain-yakkety-4.0 main -- 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
[llvm-bugs] [Bug 31145] no clang-4.0 in http://apt.llvm.org/xenial/ llvm-toolchain-xenial repo
https://llvm.org/bugs/show_bug.cgi?id=31145 Sylvestre Ledru changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Sylvestre Ledru --- This is now fixed. Thanks for your bug report. -- 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
[llvm-bugs] [Bug 27727] llvm-3*-doc_*.deb packages empty
https://llvm.org/bugs/show_bug.cgi?id=27727 Sylvestre Ledru changed: What|Removed |Added Status|NEW |RESOLVED CC||sylves...@debian.org Resolution|--- |FIXED Assignee|unassignedb...@nondot.org |sylves...@debian.org --- Comment #1 from Sylvestre Ledru --- Yeah, they were not shipped. This is fixed now. Thanks -- 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
[llvm-bugs] [Bug 27239] apt cannot authenticate llvm-3.8 Ubuntu 12.04 packages
https://llvm.org/bugs/show_bug.cgi?id=27239 Sylvestre Ledru changed: What|Removed |Added Status|NEW |RESOLVED CC||sylves...@debian.org Resolution|--- |FIXED --- Comment #2 from Sylvestre Ledru --- This is now fixed. thanks! -- 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
[llvm-bugs] [Bug 27220] libomp not included on package server
https://llvm.org/bugs/show_bug.cgi?id=27220 Sylvestre Ledru changed: What|Removed |Added Status|NEW |RESOLVED CC||sylves...@debian.org Resolution|--- |DUPLICATE --- Comment #2 from Sylvestre Ledru --- *** This bug has been marked as a duplicate of bug 27154 *** -- 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
[llvm-bugs] [Bug 30275] jessie 3.9 stable apt respository showing Hash Sum mismatch
https://llvm.org/bugs/show_bug.cgi?id=30275 Sylvestre Ledru changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Sylvestre Ledru --- This is fixed. We have now a sync job which will start only when the two archs have been built -- 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
[llvm-bugs] [Bug 28713] Some distributions don't have a signed Release file
https://llvm.org/bugs/show_bug.cgi?id=28713 Sylvestre Ledru changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Sylvestre Ledru --- *** This bug has been marked as a duplicate of bug 27239 *** -- 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
[llvm-bugs] [Bug 24365] Failure to build debian package using cmake (AUTOCONF_BUILD=no)
https://llvm.org/bugs/show_bug.cgi?id=24365 Sylvestre Ledru changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassignedb...@nondot.org |sylves...@debian.org --- Comment #1 from Sylvestre Ledru --- This is now fixed, thanks! -- 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
[llvm-bugs] [Bug 21416] clang ubuntu packages don't provide clang
https://llvm.org/bugs/show_bug.cgi?id=21416 Sylvestre Ledru changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Sylvestre Ledru --- llvm-defaults is now provided -- 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
[llvm-bugs] [Bug 31647] New: Clang-cl: conversion from 'long' to 'const QVariant' is ambiguous
https://llvm.org/bugs/show_bug.cgi?id=31647 Bug ID: 31647 Summary: Clang-cl: conversion from 'long' to 'const QVariant' is ambiguous Product: clang Version: 4.0 Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: -New Bugs Assignee: unassignedclangb...@nondot.org Reporter: jva...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 17843 --> https://llvm.org/bugs/attachment.cgi?id=17843&action=edit Reproduction The attachment contains a smaller reproduction scenario. Problem occurred during conversion of MSVC codebase with Qt to clang-cl. (More specially with the QVariant) Using clang-cl from SVN r291454 (9 January 2017) (64 bit version from http://llvm.org/builds/) namespace { struct A { A(int) {} A(unsigned int) {} A(long long) {} A(unsigned long long) {} A(bool) {} A(float) {} A(double) {} }; long getLong() { return 42; } void f(const A &) {} } int main(int, char **) { f(getLong()); return 0; } > Calling f is ambiguous However, if I change the main function to the following, clang-cl compiles the code. int main(int, char **) { long l = 42; f(l); return 0; } MSVC compiles both versions of the code. I've also checked with: static_assert(sizeof(int) == sizeof(long), "We expect int to be the same size as long"); In both compilers, this assert evaluates to true. -- 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
[llvm-bugs] [Bug 29048] JumpThreading.cpp segfault in ThreadEdge function
https://llvm.org/bugs/show_bug.cgi?id=29048 Florian Hahn changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Florian Hahn --- Unfortunately there is no way to reproduce this issue at the moment. I'm closing this issue for now, but please feel free to re-open (ideally with a c/ll file to reproduce) if the issue still persists. -- 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
[llvm-bugs] [Bug 31648] New: Inconsistent formatting for variable in parenthesis followed by multiplication
https://llvm.org/bugs/show_bug.cgi?id=31648 Bug ID: 31648 Summary: Inconsistent formatting for variable in parenthesis followed by multiplication Product: clang Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: roland.sch...@intel.com CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified The statement int x=(a)*2; gets formatted as: int x = (a)*2; when it should get formatted as: int x = (a) * 2; Given that all similar statement such as "a*2" or "2*(a)" do get formatted with the space around the multiplication. Present both in trunk as well as in 3.9. -- 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
[llvm-bugs] [Bug 31649] New: Alignment support for array initializer
https://llvm.org/bugs/show_bug.cgi?id=31649 Bug ID: 31649 Summary: Alignment support for array initializer Product: clang Version: trunk Hardware: All OS: All Status: NEW Severity: enhancement Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: roland.sch...@intel.com CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified It would be nice if it would be possible to align array initialization such as int m[][2] = { {10, 2}, { 1, 2}}; the same was as it is already possible to enable alignment for declaration and assignment. This would preserve the alignment in the example. As is, it produces (with ColumnLimit=0): int m[][2] = { {10, 2}, {1, 2}}; -- 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
[llvm-bugs] [Bug 31647] Clang-cl: conversion from 'long' to 'const QVariant' is ambiguous
https://llvm.org/bugs/show_bug.cgi?id=31647 David Majnemer changed: What|Removed |Added Status|NEW |RESOLVED CC||david.majne...@gmail.com Resolution|--- |INVALID --- Comment #2 from David Majnemer --- I can't reproduce with: clang version 5.0.0 (trunk 291737) (llvm/trunk 292034) $ cat t.cpp namespace { struct A { A(int) {} A(unsigned int) {} A(long long) {} A(unsigned long long) {} A(bool) {} A(float) {} A(double) {} }; long getLong() { return 42; } void f(const A &) {} } int main(int, char **) { long l = 42; f(l); return 0; } $ ~/llvm/Release+Asserts/bin/clang-cl t.cpp t.cpp(18,7) : error: conversion from 'long' to 'const (anonymous namespace)::A' is ambiguous f(l); AFAICT, your code is not supposed to compile. The fact that MSVC does is most likely indicative of a bug in that product. -- 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
[llvm-bugs] [Bug 31648] Inconsistent formatting for variable in parenthesis followed by multiplication
https://llvm.org/bugs/show_bug.cgi?id=31648 Daniel Jasper changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Daniel Jasper --- Right. I have seen that. The short answer is that I have not seen a case where it would be worth jumping through the hoops to do anything about it here. There are always going to be cases, where clang-format cannot know and there is almost always an easy workaround. In this case, maybe rewrite this as: #define DD_FLAG_FW(d) (1 << (16 + 2 * (d))) -- 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
[llvm-bugs] [Bug 29015] Incorrect symbolic link to cmake files
https://llvm.org/bugs/show_bug.cgi?id=29015 Sylvestre Ledru changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Sylvestre Ledru --- This is now fixed (at least from 3.8) -- 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
[llvm-bugs] [Bug 25530] clang-tidy-3.7 from nightly deb package conflicts with provide clang-3.7
https://llvm.org/bugs/show_bug.cgi?id=25530 Sylvestre Ledru changed: What|Removed |Added Status|NEW |RESOLVED CC||sylves...@debian.org Resolution|--- |FIXED Assignee|unassignedb...@nondot.org |sylves...@debian.org --- Comment #1 from Sylvestre Ledru --- This is now fixed, thanks -- 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
[llvm-bugs] [Bug 31618] AVX512: vgatherqps/vpgatherqd has incorrect memory operand.
https://llvm.org/bugs/show_bug.cgi?id=31618 Craig Topper changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- 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
[llvm-bugs] [Bug 31645] P0031 not complety implemented
https://llvm.org/bugs/show_bug.cgi?id=31645 Marshall Clow (home) changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Marshall Clow (home) --- Fixed in revision 292091. Thanks for the report! -- 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
[llvm-bugs] [Bug 31650] New: Definition of llvm::None is incorrect
https://llvm.org/bugs/show_bug.cgi?id=31650 Bug ID: 31650 Summary: Definition of llvm::None is incorrect Product: libraries Version: trunk Hardware: All OS: All Status: NEW Severity: normal Priority: P Component: Support Libraries Assignee: unassignedb...@nondot.org Reporter: zeratul...@hotmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified In include/llvm/ADT/None.h, llvm::None is defined as follows: namespace llvm { enum class NoneType { None }; const NoneType None = None; } Clearly the intention is for the initializer to name the enumerator 'None', but it actually names the variable 'None', which means the resulting of value of the variable 'None' is unspecified (rather than the intended NoneType::None). The definition should instead be: namespace llvm { enum class NoneType { None }; const NoneType None = NoneType::None; } -- 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