Commit dd887943 by Jakub Jelinek Committed by Jakub Jelinek

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
parent 63d7ceaa
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> 2012-01-31 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51528 PR tree-optimization/51528
......
/* Interprocedural analyses. /* Interprocedural analyses.
Copyright (C) 2005, 2007, 2008, 2009, 2010, 2011 Copyright (C) 2005, 2007, 2008, 2009, 2010, 2011, 2012
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -442,13 +442,11 @@ detect_type_change_1 (tree arg, tree base, tree comp_type, gimple call, ...@@ -442,13 +442,11 @@ detect_type_change_1 (tree arg, tree base, tree comp_type, gimple call,
if (!flag_devirtualize || !gimple_vuse (call)) if (!flag_devirtualize || !gimple_vuse (call))
return false; return false;
ao.ref = arg; ao_ref_init (&ao, arg);
ao.base = base; ao.base = base;
ao.offset = offset; ao.offset = offset;
ao.size = POINTER_SIZE; ao.size = POINTER_SIZE;
ao.max_size = ao.size; ao.max_size = ao.size;
ao.ref_alias_set = -1;
ao.base_alias_set = -1;
tci.offset = offset; tci.offset = offset;
tci.object = get_base_address (arg); tci.object = get_base_address (arg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment