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.
2018-06-07 Richard Biener <rguenther@suse.de>
PR tree-optimization/85935 * graphite-scop-detection.c (find_params_in_bb): Analyze condition operands with respect to the correct loop. Assert the analysis doesn't fail. * gcc.dg/graphite/pr85935.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261263 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
rguenth
committed
Jun 7, 2018
1 parent
ed76efe
commit 7839597
Showing
4 changed files
with
40 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
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
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
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 compile } */ | ||
/* { dg-options "-O -floop-parallelize-all -fno-tree-loop-im --param scev-max-expr-size=3" } */ | ||
|
||
typedef int dq; | ||
|
||
int gb; | ||
|
||
void | ||
qq (dq ww, int kk) | ||
{ | ||
dq *up = &ww; | ||
|
||
(void) *up; | ||
|
||
while (kk < 1) | ||
{ | ||
++ww; | ||
|
||
if (ww == 0) | ||
for (gb = 0; gb < 2; ++gb) | ||
; | ||
|
||
++kk; | ||
} | ||
} |