forked from iains/gcc-14-branch
-
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.
re PR middle-end/58551 (ICE with abort in OpenMP SESE region inside o…
…f some loop) PR middle-end/58551 * tree-cfg.c (move_sese_region_to_fn): Also move loops that are children of outermost saved_cfun's loop, and set it up to be moved to dest_cfun's outermost loop. Fix up num_nodes adjustments if loop != loop0 and SESE region contains bbs that belong to loop0. * c-c++-common/gomp/pr58551.c: New test. From-SVN: r202972
- Loading branch information
1 parent
ec5a350
commit 09dc585
Showing
4 changed files
with
71 additions
and
8 deletions.
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,11 @@ | ||
2013-09-27 Jakub Jelinek <[email protected]> | ||
|
||
PR middle-end/58551 | ||
* tree-cfg.c (move_sese_region_to_fn): Also move loops that | ||
are children of outermost saved_cfun's loop, and set it up to | ||
be moved to dest_cfun's outermost loop. Fix up num_nodes adjustments | ||
if loop != loop0 and SESE region contains bbs that belong to loop0. | ||
|
||
2013-09-27 Richard Sandiford <[email protected]> | ||
|
||
* rtlanal.c (must_be_base_p, must_be_index_p): Delete. | ||
|
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 @@ | ||
2013-09-27 Jakub Jelinek <[email protected]> | ||
|
||
PR middle-end/58551 | ||
* c-c++-common/gomp/pr58551.c: New test. | ||
|
||
2013-09-27 Richard Biener <[email protected]> | ||
|
||
PR tree-optimization/58459 | ||
|
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,33 @@ | ||
/* PR middle-end/58551 */ | ||
/* { dg-do compile } */ | ||
/* { dg-options "-O0 -fopenmp" } */ | ||
|
||
void | ||
foo (int *a) | ||
{ | ||
int i; | ||
for (i = 0; i < 8; i++) | ||
#pragma omp task | ||
if (a[i]) | ||
__builtin_abort (); | ||
} | ||
|
||
void bar (int, int); | ||
|
||
void | ||
baz (int *a) | ||
{ | ||
int i; | ||
for (i = 0; i < 8; i++) | ||
#pragma omp task | ||
if (a[i]) | ||
{ | ||
int j, k; | ||
for (j = 0; j < 10; j++) | ||
for (k = 0; k < 8; k++) | ||
bar (j, k); | ||
for (k = 0; k < 12; k++) | ||
bar (-1, k); | ||
__builtin_abort (); | ||
} | ||
} |
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