From: jakub Date: Tue, 31 Jan 2012 10:06:50 +0000 (+0000) Subject: PR bootstrap/52041 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b74ba78c23d88090bc63593b19cf4e5d366b9bfe;p=thirdparty%2Fgcc.git PR bootstrap/52041 PR bootstrap/52039 PR target/51974 * ipa-prop.c (detect_type_change_1): Call ao_ref_init. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183753 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce93b26a7689..661583f84caf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2012-01-31 Jakub Jelinek + + 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 PR tree-optimization/51528 diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 17e3b4ffb17c..6d76adbbfb66 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);