forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2015-07-14 Richard Biener <[email protected]>
PR tree-optimization/66863 * tree-vrp.c (register_edge_assert_for_2): Properly restrict what we record for conversion use stmt lhs inequalities. * gcc.dg/torture/pr66863.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225768 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
rguenth
committed
Jul 14, 2015
1 parent
6700b27
commit 6c2daf3
Showing
4 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
2015-07-14 Richard Biener <[email protected]> | ||
|
||
PR tree-optimization/66863 | ||
* tree-vrp.c (register_edge_assert_for_2): Properly restrict | ||
what we record for conversion use stmt lhs inequalities. | ||
|
||
2015-07-14 Richard Biener <[email protected]> | ||
|
||
* genmatch.c (dt_node::gen_kids_1): Fix case label indenting. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2015-07-14 Richard Biener <[email protected]> | ||
|
||
PR tree-optimization/66863 | ||
* gcc.dg/torture/pr66863.c: New testcase. | ||
|
||
2015-07-13 Patrick Palka <[email protected]> | ||
|
||
PR c++/65186 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* { dg-do run } */ | ||
|
||
int a, b; | ||
|
||
int | ||
fn1 (int p1) | ||
{ | ||
if (p1 < -2147483647) | ||
return 0; | ||
else | ||
return 1; | ||
} | ||
|
||
int | ||
fn2 (int p1, short p2) | ||
{ | ||
return p2 ? p1 % p2 : 0; | ||
} | ||
|
||
int | ||
main () | ||
{ | ||
b = fn2 (fn1 (a), a); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters