diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-01-31 11:06:50 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-01-31 11:06:50 +0100 |
commit | dd887943bf556867ddc60f258c477e3b6ea17de2 (patch) | |
tree | 51a13d4bc70d75bf5fcf85b68b6d572550fe93dc | |
parent | 63d7ceaaba06f2b35d82e1e62fc9b8f2fe474857 (diff) | |
download | gcc-dd887943bf556867ddc60f258c477e3b6ea17de2.zip gcc-dd887943bf556867ddc60f258c477e3b6ea17de2.tar.gz gcc-dd887943bf556867ddc60f258c477e3b6ea17de2.tar.bz2 |
re PR bootstrap/52041 (Bootstrap failure at revision 183650 with --enable-checking=release)
PR bootstrap/52041
PR bootstrap/52039
PR target/51974
* ipa-prop.c (detect_type_change_1): Call ao_ref_init.
From-SVN: r183753
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/ipa-prop.c | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce93b26..661583f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2012-01-31 Jakub Jelinek <jakub@redhat.com> + + PR bootstrap/52041 + PR bootstrap/52039 + PR target/51974 + * ipa-prop.c (detect_type_change_1): Call ao_ref_init. + 2012-01-31 Richard Guenther <rguenther@suse.de> PR tree-optimization/51528 diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 17e3b4f..6d76adb 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -1,5 +1,5 @@ /* Interprocedural analyses. - Copyright (C) 2005, 2007, 2008, 2009, 2010, 2011 + Copyright (C) 2005, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This file is part of GCC. @@ -442,13 +442,11 @@ detect_type_change_1 (tree arg, tree base, tree comp_type, gimple call, if (!flag_devirtualize || !gimple_vuse (call)) return false; - ao.ref = arg; + ao_ref_init (&ao, arg); ao.base = base; ao.offset = offset; ao.size = POINTER_SIZE; ao.max_size = ao.size; - ao.ref_alias_set = -1; - ao.base_alias_set = -1; tci.offset = offset; tci.object = get_base_address (arg); |