[llvm-bugs] [Bug 36971] debian sid/amd64 packages for trunk are stale

2018-04-07 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=36971

Sylvestre Ledru  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #1 from Sylvestre Ledru  ---
A test was freezing the CI, this is 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 36550] Derive TTI instruction costs from scheduling models

2018-04-07 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=36550
Bug 36550 depends on bug 36907, which changed state.

Bug 36907 Summary: Add -cost-model -analyze support to update_test_checks.py
https://bugs.llvm.org/show_bug.cgi?id=36907

   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 36907] Add -cost-model -analyze support to update_test_checks.py

2018-04-07 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=36907

Simon Pilgrim  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
 Fixed By Commit(s)||329390

--- Comment #1 from Simon Pilgrim  ---
rL329390 - added update_analyze_test_checks.py script instead of hacking
update_test_checks.py

-- 
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] Issue 5280 in oss-fuzz: llvm/llvm-isel-fuzzer--x86_64-O2: ASSERT: &*BB.begin() == PadInst && "WinEHPrepare

2018-04-07 Thread sheriff… via monorail via llvm-bugs

Updates:
Labels: Deadline-Approaching

Comment #2 on issue 5280 by sheriff...@chromium.org:  
llvm/llvm-isel-fuzzer--x86_64-O2: ASSERT: &*BB.begin() == PadInst  
&& "WinEHPrepare

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5280#c2

This bug is approaching its deadline for being fixed, and will be  
automatically derestricted within 7 days. If a fix is planned within 2  
weeks after the deadline has passed, a grace extension can be granted.


- Your friendly Sheriffbot

--
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 37046] New: [LLVM-COV] two continues return statements are both marked as executed when they are after a statement with many binary operators in llvm-cov

2018-04-07 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=37046

Bug ID: 37046
   Summary: [LLVM-COV] two continues return statements are both
marked as executed when they are after a statement
with many binary operators in llvm-cov
   Product: Runtime Libraries
   Version: trunk
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P
 Component: libprofile library
  Assignee: unassignedb...@nondot.org
  Reporter: yangyib...@nju.edu.cn
CC: llvm-bugs@lists.llvm.org

$ cat small.c
int a, b, c, d, e;
int main() {
  ((e=a) && c || 5 || 0) == b || d;
  return 0;
  return 0;
}

$ clang -w -O0 -g -fcoverage-mapping -fprofile-instr-generate=small.profraw
small.c; ./a.out; llvm-profdata merge small.profraw -o small.profdata; llvm-cov
show a.out -instr-profile=small.profdata small.c > small.gcov; cat small.gcov
1|   |int a, b, c, d, e;
2|  1|int main() {
3|  1|  ((e=a) && c || 5 || 0) == b || d;
4|  1|  return 0;
5|  1|  return 0;
6|  1|}



Line #5 is wrongly marked as executed.

-- 
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 36892] -Wself-assign does not warn when variable of class type is self-assigned.

2018-04-07 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=36892

Roman Lebedev  changed:

   What|Removed |Added

   Assignee|unassignedclangbugs@nondot. |lebedev...@gmail.com
   |org |
 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #3 from Roman Lebedev  ---
r329493

-- 
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 17564] Cannot canonicalize (x & 1) || (x & 2) well

2018-04-07 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=17564

Roman Lebedev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Roman Lebedev  ---
r329492

-- 
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 36950] Missing canonicalization of select of bitchecks into icmp

2018-04-07 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=36950

Roman Lebedev  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Roman Lebedev  ---
r329492

-- 
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 37045] New: Clang :: Misc/warning-flags-tree.c fails with -D_GLIBCXX_DEBUG

2018-04-07 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=37045

Bug ID: 37045
   Summary: Clang :: Misc/warning-flags-tree.c fails with
-D_GLIBCXX_DEBUG
   Product: clang
   Version: trunk
  Hardware: PC
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P
 Component: -New Bugs
  Assignee: unassignedclangb...@nondot.org
  Reporter: matthias.krue...@famsik.de
CC: llvm-bugs@lists.llvm.org

Hi, I used the monorepo as source.

CC and CXX used to build were clang(++) 6.0
Cmake config:

cmake ../llvm-project-20170507/llvm -G "Ninja" \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_BINUTILS_INCDIR=/usr/include \
-DCMAKE_C_FLAGS="-march=native -O3 -g0 -D_GLIBCXX_DEBUG" \
-DCMAKE_CXX_FLAGS="-march=native -O3 -g0 -D_GLIBCXX_DEBUG" \
-DLLVM_PARALLEL_LINK_JOBS=1 \
-DLLVM_TARGETS_TO_BUILD="X86" \
-DLLVM_OPTIMIZED_TABLEGEN=1 \
-DLLVM_BUILD_TOOLS=0 \
-DLLVM_ENABLE_PROJECTS="llvm;clang;lld"


test output:

FAIL: Clang :: Misc/warning-flags-tree.c (5417 of 12211)
 TEST 'Clang :: Misc/warning-flags-tree.c' FAILED

Script:
--
diagtool tree --internal |
/home/matthias/LLVM/LLVM_debug/stage_1/build/bin/FileCheck -strict-whitespace
/home/matthias/LLVM/LLVM_debug/stage_1/llvm-project-20170507/clang/test/Misc/warning-flags-tree.c
diagtool tree --internal -Weverything |
/home/matthias/LLVM/LLVM_debug/stage_1/build/bin/FileCheck -strict-whitespace
/home/matthias/LLVM/LLVM_debug/stage_1/llvm-project-20170507/clang/test/Misc/warning-flags-tree.c
diagtool tree --internal everything |
/home/matthias/LLVM/LLVM_debug/stage_1/build/bin/FileCheck -strict-whitespace
/home/matthias/LLVM/LLVM_debug/stage_1/llvm-project-20170507/clang/test/Misc/warning-flags-tree.c
not diagtool tree -Wthis-is-not-a-valid-flag
diagtool tree --internal -Wgnu |
/home/matthias/LLVM/LLVM_debug/stage_1/build/bin/FileCheck -strict-whitespace
-check-prefix CHECK-GNU
/home/matthias/LLVM/LLVM_debug/stage_1/llvm-project-20170507/clang/test/Misc/warning-flags-tree.c
diagtool tree -Wgnu |
/home/matthias/LLVM/LLVM_debug/stage_1/build/bin/FileCheck -check-prefix
CHECK-FLAGS-ONLY
/home/matthias/LLVM/LLVM_debug/stage_1/llvm-project-20170507/clang/test/Misc/warning-flags-tree.c
--
Exit Code: 2
Command Output (stderr):
--
/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_algo.h:2031:
Error: elements in iterator range [__first, __last) are not partitioned by
the predicate __comp and value __val.
Objects involved in the operation:
iterator "__first" @ 0x0x7ffd8cc77940 {
}
iterator "__last" @ 0x0x7ffd8cc77938 {
}
FileCheck error: '-' is empty.
FileCheck command line: 
/home/matthias/LLVM/LLVM_debug/stage_1/build/bin/FileCheck -strict-whitespace
/home/matthias/LLVM/LLVM_debug/stage_1/llvm-project-20170507/clang/test/Misc/warning-flags-tree.c
--



meta: 
glibc 2.26-1
gcc  7.3.1+20180312-1
linux 4.14.30-1-MANJARO

-- 
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 37044] New: Unicode string literals

2018-04-07 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=37044

Bug ID: 37044
   Summary: Unicode string literals
   Product: clang
   Version: unspecified
  Hardware: Macintosh
OS: MacOS X
Status: NEW
  Severity: enhancement
  Priority: P
 Component: Frontend
  Assignee: unassignedclangb...@nondot.org
  Reporter: bumblebritche...@gmail.com
CC: llvm-bugs@lists.llvm.org

`\x` Does not work with Unicode characters outside of the BMP for example
U+1F984, and `\u` and `\U` (for UTF-16 and UTF-32) will not work with Unicode
characters in the ASCII range (for example, 0x20, the space).

I'm not entirely sure what to do here, I ran into this problem because I'm
writing a script to parse the Unicode Character Database to create some tables
in C for my library, StringIO.

Example code:

uint_least32_t Space32_1[] = U"\x20";
uint_least32_t Space32_2[] = U"\U20";
uint_least32_t Unicorn32_1[]   = U"\x1F984";
uint_least32_t Unicorn32_2[]   = U"\U1F984";

-- 
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 37043] New: [LLVM-COV] A no side-effect const statement is wrongly marked as executed when it is after a executed break statement in llvm-cov

2018-04-07 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=37043

Bug ID: 37043
   Summary: [LLVM-COV] A no side-effect const statement is wrongly
marked as executed when it is after a executed break
statement in llvm-cov
   Product: Runtime Libraries
   Version: trunk
  Hardware: PC
OS: All
Status: NEW
  Severity: enhancement
  Priority: P
 Component: libprofile library
  Assignee: unassignedb...@nondot.org
  Reporter: yangyib...@nju.edu.cn
CC: llvm-bugs@lists.llvm.org

$ clang -v
clang version 7.0.0- (trunk)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8.5
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/5
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.4.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8.0.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.2.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8.0.0
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8.0.0
Candidate multilib: .;@m64
Selected multilib: .;@m64


$ cat small.c
void main() {
  for (;;) {
if (0)
  break;
break;
1;
  }
}

$ clang -w -O0 -g -fcoverage-mapping -fprofile-instr-generate=small.profraw
small.c; ./a.out; llvm-profdata merge small.profraw -o small.profdata; llvm-cov
show a.out -instr-profile=small.profdata small.c > small.gcov; cat small.gcov
1|  1|void main() {
2|  1|  for (;;) {
3|  1|if (0)
4|  0|  break;
5|  1|break;
6|  1|1;
7|  0|  }
8|  1|}


*
Line #6 is wrongly marked as executed.

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