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.
* omp-low.c (lower_omp_1): For gimple_clobber_p stmts, if they need regimplification, just drop them instead of calling gimple_regimplify_operands on them. * g++.dg/gomp/pr60682.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208864 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
jakub
committed
Mar 27, 2014
1 parent
780b9a2
commit ef8cfd4
Showing
4 changed files
with
70 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,10 @@ | ||
2014-03-27 Jakub Jelinek <[email protected]> | ||
|
||
PR middle-end/60682 | ||
* omp-low.c (lower_omp_1): For gimple_clobber_p stmts, | ||
if they need regimplification, just drop them instead of | ||
calling gimple_regimplify_operands on them. | ||
|
||
2014-03-27 Marcus Shawcroft <[email protected]> | ||
|
||
PR target/60580 | ||
|
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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2014-03-27 Jakub Jelinek <[email protected]> | ||
|
||
PR middle-end/60682 | ||
* g++.dg/gomp/pr60682.C: New test. | ||
|
||
2014-03-27 John David Anglin <[email protected]> | ||
|
||
* gcc.dg/torture/pr60092.c: Remove default dg-skip-if arguments. | ||
|
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,44 @@ | ||
// PR middle-end/60682 | ||
// { dg-do compile } | ||
// { dg-options "-O2 -fopenmp-simd" } | ||
|
||
struct A | ||
{ | ||
float a; | ||
A () {} | ||
A (const A &x) { a = x.a; } | ||
}; | ||
|
||
struct B | ||
{ | ||
A a[16]; | ||
}; | ||
|
||
struct C | ||
{ | ||
float a[1]; | ||
C () {} | ||
C (const C &x) { a[0] = x.a[0]; } | ||
}; | ||
|
||
struct D | ||
{ | ||
C a[16]; | ||
}; | ||
|
||
void | ||
foo (int x, B &y, D &z) | ||
{ | ||
#pragma omp simd | ||
for (int i = 0; i < x; ++i) | ||
{ | ||
A a; | ||
y.a[i] = a; | ||
} | ||
#pragma omp simd | ||
for (int i = 0; i < x; ++i) | ||
{ | ||
C a; | ||
z.a[i] = a; | ||
} | ||
} |