[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Target Milestone|7.5 |8.0 Known to fail||7.5.0 --- Comment #14 from Richard Biener --- Fixed in GCC8.
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 Richard Biener changed: What|Removed |Added Target Milestone|7.4 |7.5
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 Richard Biener changed: What|Removed |Added Target Milestone|7.3 |7.4 --- Comment #13 from Richard Biener --- GCC 7.3 is being released, adjusting target milestone.
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 --- Comment #12 from Richard Biener --- Author: rguenth Date: Thu Sep 21 10:08:21 2017 New Revision: 253052 URL: https://gcc.gnu.org/viewcvs?rev=253052&root=gcc&view=rev Log: 2017-09-21 Richard Biener PR tree-optimization/71351 * graphite-isl-ast-to-gimple.c (translate_isl_ast_to_gimple:: graphite_create_new_loop_guard): Remove, fold remaining parts into caller ... (translate_isl_ast_node_for): ... here and simplify. * gfortran.dg/graphite/pr71351.f90: New testcase. * gfortran.dg/graphite/interchange-3.f90: Adjust. Added: trunk/gcc/testsuite/gfortran.dg/graphite/pr71351.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/graphite-isl-ast-to-gimple.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/graphite/interchange-3.f90
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 Richard Biener changed: What|Removed |Added Known to work||8.0 Summary|[7/8 Regression] ICE: |[7 Regression] ICE: |Segmentation fault |Segmentation fault |(graphite) |(graphite) --- Comment #11 from Richard Biener --- Fixed on trunk.
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 Richard Biener changed: What|Removed |Added CC||spop at gcc dot gnu.org --- Comment #8 from Richard Biener --- Also ICEs with -fgraphite-identity. The issue seems to be that ISL creates a new loop guard but the loop has a loop-close PHI node and we fail to generate/know the value to use on the edge that skips the loop. The condition we try to insert is _19 > 0 (that's trivially true by means of a dominating condition). Not sure how this is supposed to work for reductions when the orginal loops guard is not in the SESE region. That guard looks like _19 = *nc_18(D); if (_19 <= 0) ... so the BB is rejected because _19 = *nc_18(D) isn't a valid stmt. So for this case it might help if we'd split that block... Anyway, it looks like we have to fail code generation here somehow... (no good idea how).
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 --- Comment #7 from Richard Biener --- sese_insert_phis_for_liveouts looks like complete bollocks in this case. We're missing a definition that could be used for updating.
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 Martin Liška changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org --- Comment #6 from Martin Liška --- *** Bug 71142 has been marked as a duplicate of this bug. ***
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 --- Comment #5 from Martin Liška --- Just our of curiosity, why graphite does a transformation as original and AST are same: [scheduler] original ast: { for (int c0 = 0; c0 < P_19; c0 += 1) { S_4(c0); for (int c1 = 0; c1 <= 2; c1 += 1) S_5(c0, c1); S_7(c0); } S_9(); } [scheduler] AST generated by isl: { for (int c0 = 0; c0 < P_19; c0 += 1) { S_4(c0); for (int c1 = 0; c1 <= 2; c1 += 1) S_5(c0, c1); S_7(c0); } S_9(); } Doing a transformation should be easy in that case.
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 --- Comment #4 from Martin Liška --- Started with r236440.
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 CC||law at redhat dot com
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 Richard Biener changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRMED |NEW Last reconfirmed||2016-05-31 Target Milestone|--- |7.0 Ever confirmed|0 |1 --- Comment #3 from Richard Biener --- The graphite transform does sth weird here ending up with a def not dominated by its use.
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz ||.ch --- Comment #2 from Joost VandeVondele --- simplified: > cat bug.f90 SUBROUTINE print_crys_symmetry(nc,v) INTEGER :: nc REAL(KIND=8), DIMENSION(3,48) :: v INTEGER :: n,i vs = 0.0_8 DO n = 1, nc DO i = 1, 3 vs = vs + ABS(v(i,n)) END DO END DO CALL foo(vs) END SUBROUTINE print_crys_symmetry > gfortran -c -O2 -floop-nest-optimize bug.f90 bug.f90:1:0: SUBROUTINE print_crys_symmetry(nc,v) internal compiler error: Segmentation fault 0xba222f crash_signal ../../gcc/gcc/toplev.c:333 0xbf6247 ssa_default_def(function*, tree_node*) ../../gcc/gcc/tree-dfa.c:305 0xbf87a8 get_or_create_ssa_default_def(function*, tree_node*) ../../gcc/gcc/tree-dfa.c:357 0xc33ab3 get_reaching_def ../../gcc/gcc/tree-into-ssa.c:1172 0xc33ab3 get_reaching_def
[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Comment #1 from Markus Trippelsdorf --- Probably a dup of PR71142