-
- Downloads
re PR c++/49039 (LLVM StringRef miscompilation with -O2)
PR tree-optimization/49039 * tree-vrp.c (extract_range_from_binary_expr): For MIN_EXPR <~[a, b], ~[c, d]> and MAX_EXPR <~[a, b], ~[c, d]> return ~[MAX_EXPR <a, c>, MIN_EXPR <b, d>]. * gcc.c-torture/execute/pr49039.c: New test. * gcc.dg/tree-ssa/pr49039.c: New test. * g++.dg/torture/pr49039.C: New test. From-SVN: r173876
Showing
- gcc/ChangeLog 7 additions, 0 deletionsgcc/ChangeLog
- gcc/testsuite/ChangeLog 7 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/torture/pr49039.C 76 additions, 0 deletionsgcc/testsuite/g++.dg/torture/pr49039.C
- gcc/testsuite/gcc.c-torture/execute/pr49039.c 26 additions, 0 deletionsgcc/testsuite/gcc.c-torture/execute/pr49039.c
- gcc/testsuite/gcc.dg/tree-ssa/pr49039.c 31 additions, 0 deletionsgcc/testsuite/gcc.dg/tree-ssa/pr49039.c
- gcc/tree-vrp.c 20 additions, 10 deletionsgcc/tree-vrp.c
Loading
Please register or sign in to comment