From ee76c2f9cb557a3023b7e56fde5c87c24757735b Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 23 Oct 2017 13:49:24 +0000 Subject: [PATCH] re PR tree-optimization/82672 ([GRAPHITE] ICE in verify_gimple_in_cfg) 2017-10-23 Richard Biener PR tree-optimization/82672 * graphite-isl-ast-to-gimple.c (graphite_copy_stmts_from_block): Fold the stmt if we propagated into it. * gfortran.dg/graphite/pr82672.f90: New testcase. From-SVN: r254009 --- gcc/ChangeLog | 6 ++++ gcc/testsuite/ChangeLog | 5 +++ .../gfortran.dg/graphite/pr82672.f90 | 33 +++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 gcc/testsuite/gfortran.dg/graphite/pr82672.f90 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4d8cff9dea..d0b7223fc98 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-10-23 Richard Biener + + PR tree-optimization/82672 + * graphite-isl-ast-to-gimple.c (graphite_copy_stmts_from_block): + Fold the stmt if we propagated into it. + 2017-10-23 Richard Biener * tree-ssa-pre.c (bitmap_remove_from_set): Rename to... diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2af517e07c4..75475d7e8ea 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-10-23 Richard Biener + + PR tree-optimization/82672 + * gfortran.dg/graphite/pr82672.f90: New testcase. + 2017-10-23 Paolo Carlini PR c++/77555 diff --git a/gcc/testsuite/gfortran.dg/graphite/pr82672.f90 b/gcc/testsuite/gfortran.dg/graphite/pr82672.f90 new file mode 100644 index 00000000000..77a1c706218 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/graphite/pr82672.f90 @@ -0,0 +1,33 @@ +! { dg-do compile } +! { dg-options "-O2 -floop-nest-optimize" } + + character(len=20,kind=4) :: s4 + character(len=20,kind=1) :: s1 + + s1 = "foo\u0000" + s1 = "foo\u00ff" + s1 = "foo\u0100" + s1 = "foo\u0101" + s1 = "foo\U00000101" + + s1 = 4_"foo bar" + s1 = 4_"foo\u00ff" + s1 = 4_"foo\u0101" + s1 = 4_"foo\u1101" + s1 = 4_"foo\UFFFFFFFF" + + s4 = "foo\u0000" + s4 = "foo\u00ff" + s4 = "foo\u0100" + s4 = "foo\U00000100" + + s4 = 4_"foo bar" + s4 = 4_"\xFF\x96" + s4 = 4_"\x00\x96" + s4 = 4_"foo\u00ff" + s4 = 4_"foo\u0101" + s4 = 4_"foo\u1101" + s4 = 4_"foo\Uab98EF56" + s4 = 4_"foo\UFFFFFFFF" + +end -- 2.30.2