mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-13 08:00:40 +08:00
re PR tree-optimization/53426 (ICE:create_variable_info_for at ../../gcc-trunk/gcc/tree-ssa-structalias.c:5581)
PR middle-end/53426 * tree-ssa-structalias.c (create_variable_info_for): Skip constructors from other partitions. From-SVN: r187799
This commit is contained in:
parent
66379195d6
commit
aa19cf8778
@ -1,3 +1,9 @@
|
||||
2012-05-22 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR middle-end/53426
|
||||
* tree-ssa-structalias.c (create_variable_info_for): Skip constructors from
|
||||
other partitions.
|
||||
|
||||
2012-05-22 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR middle-end/53161
|
||||
|
@ -5583,7 +5583,8 @@ create_variable_info_for (tree decl, const char *name)
|
||||
|
||||
/* If this is a global variable with an initializer and we are in
|
||||
IPA mode generate constraints for it. */
|
||||
if (DECL_INITIAL (decl))
|
||||
if (DECL_INITIAL (decl)
|
||||
&& vnode->analyzed)
|
||||
{
|
||||
VEC (ce_s, heap) *rhsc = NULL;
|
||||
struct constraint_expr lhs, *rhsp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user