diff options
author | Tobias Burnus <burnus@net-b.de> | 2015-01-23 08:01:34 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2015-01-23 08:01:34 +0100 |
commit | c146acedf5139830c2a4b10e1bedbb2addd53dff (patch) | |
tree | 9f88e5feef789167125cad2494b6770178ebc85a /gcc/fortran | |
parent | 631ff3e1cd237abd8967aaec89846e4adc873e3c (diff) | |
download | gcc-c146acedf5139830c2a4b10e1bedbb2addd53dff.zip gcc-c146acedf5139830c2a4b10e1bedbb2addd53dff.tar.gz gcc-c146acedf5139830c2a4b10e1bedbb2addd53dff.tar.bz2 |
re PR fortran/64726 ([OpenACC] ICE with -fopenacc and reduction(+:a))
2015-01-23 Tobias Burnus <burnus@net-b.de>
PR fortran/64726
* trans-openmp.c (gfc_trans_oacc_combined_directive): Fix
loop generation.
2015-01-23 Tobias Burnus <burnus@net-b.de>
PR fortran/64726
* gfortran.dg/goacc/combined_loop.f90: New.
From-SVN: r220028
Diffstat (limited to 'gcc/fortran')
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/trans-openmp.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index d2742c8..51d7b59 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2015-01-23 Tobias Burnus <burnus@net-b.de> + + PR fortran/64726 + * trans-openmp.c (gfc_trans_oacc_combined_directive): Fix + loop generation. + 2015-01-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/61933 diff --git a/gcc/fortran/trans-openmp.c b/gcc/fortran/trans-openmp.c index fe47a96..cdd1885 100644 --- a/gcc/fortran/trans-openmp.c +++ b/gcc/fortran/trans-openmp.c @@ -3438,7 +3438,7 @@ gfc_trans_oacc_combined_directive (gfc_code *code) pblock = █ else pushlevel (); - stmt = gfc_trans_omp_do (code, code->op, pblock, &loop_clauses, NULL); + stmt = gfc_trans_omp_do (code, EXEC_OACC_LOOP, pblock, &loop_clauses, NULL); if (TREE_CODE (stmt) != BIND_EXPR) stmt = build3_v (BIND_EXPR, NULL, stmt, poplevel (1, 0)); else |