re PR ipa/61921 (ICE: SIGSEGV in varpool_node::get_constructor(), at varpool.c:275...
authorRichard Biener <rguenther@suse.de>
Mon, 28 Jul 2014 08:25:34 +0000 (08:25 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 28 Jul 2014 08:25:34 +0000 (08:25 +0000)
commitcfe2053d0edc7424353ef98c11c571b0475cf902
tree0771311416d969e037a6cfb97f85e10f3fe6cd6c
parentf9a7442316d8a025c6adf1d14a8b491f3b044337
re PR ipa/61921 (ICE: SIGSEGV in varpool_node::get_constructor(), at varpool.c:275 with -O2 -fipa-pta)

2014-07-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/61921
* tree-ssa-structalias.c (create_variable_info_for_1): Check
if there is a varpool node before dereferencing it.

* gfortran.dg/pr61921.f90: New testcase.

From-SVN: r213114
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr61921.f90 [new file with mode: 0644]
gcc/tree-ssa-structalias.c