Handle NULL def in build_cross_bb_scalars_def
authorTom de Vries <tom@codesourcery.com>
Sat, 7 May 2016 06:47:07 +0000 (06:47 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sat, 7 May 2016 06:47:07 +0000 (06:47 +0000)
commit5ec4a8cd76196b82dfa1b6e16b6646e6342c969f
tree48f3393d5adbba36e0cec2c66555bfee59dcd91b
parente22daa4bb5154115b93f2e7b86a7d1ae74203eab
Handle NULL def in build_cross_bb_scalars_def

2016-05-07  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/70956
* graphite-scop-detection.c (build_cross_bb_scalars_def): Handle NULL
def.

* gcc.dg/graphite/pr70956.c: New test.

From-SVN: r235994
gcc/ChangeLog
gcc/graphite-scop-detection.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr70956.c [new file with mode: 0644]