[Bug middle-end/85879] [6/7/8/9 Regression] ICE in expand_debug_locations, at cfgexpand.c:5405
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85879 --- Comment #4 from cesar at gcc dot gnu.org --- Author: cesar Date: Thu May 31 14:10:10 2018 New Revision: 261025 URL: https://gcc.gnu.org/viewcvs?rev=261025=gcc=rev Log: Fix PR middle-end/85879 gcc/ * gimplify.c (gimplify_adjust_omp_clauses): Add 'remove = true' when emitting error on private/firstprivate reductions. * omp-low.c (lower_omp_target): Avoid reference-type processing on pointers for firstprivate clause. gcc/testsuite/ * gfortran.dg/goacc/pr77371-1.f90: New test. * gfortran.dg/goacc/pr77371-2.f90: New test. * gfortran.dg/goacc/pr85879.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/goacc/pr77371-1.f90 trunk/gcc/testsuite/gfortran.dg/goacc/pr77371-2.f90 trunk/gcc/testsuite/gfortran.dg/goacc/pr85879.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/gimplify.c trunk/gcc/omp-low.c trunk/gcc/testsuite/ChangeLog
[Bug middle-end/85879] [6/7/8/9 Regression] ICE in expand_debug_locations, at cfgexpand.c:5405
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85879 cesar at gcc dot gnu.org changed: What|Removed |Added Keywords||openacc --- Comment #3 from cesar at gcc dot gnu.org --- I'm testing Chung-Lin's fix for PR77371 from gomp-4_0-branch on trunk. It takes extra care when handling data clauses of Fortran reference-type variables.
[Bug middle-end/85879] [6/7/8/9 Regression] ICE in expand_debug_locations, at cfgexpand.c:5405
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85879 Jakub Jelinek changed: What|Removed |Added CC||cesar at gcc dot gnu.org, ||jakub at gcc dot gnu.org, ||tschwinge at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Can't get any ICEs with similar OpenMP code. In a checking compiler this ICEs much earlier though: Error: non-trivial conversion at assignment integer(kind=4) integer(kind=4) * i.4 = *D.3808; during GIMPLE pass: lower
[Bug middle-end/85879] [6/7/8/9 Regression] ICE in expand_debug_locations, at cfgexpand.c:5405
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85879 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Priority|P3 |P2 Status|UNCONFIRMED |NEW Last reconfirmed||2018-05-23 Component|fortran |middle-end Target Milestone|--- |6.5 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed.