re PR target/35842 (ICE in legitimize_pic_address, at config/i386/i386.c:7666)

2008-04-06  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/35842
	* tree-ssa-address.c (fixed_address_object_p): Adjust to match
	is_gimple_invariant_address.

From-SVN: r133963
This commit is contained in:
Richard Guenther 2008-04-06 18:04:47 +00:00 committed by Richard Biener
parent fbe88ffa16
commit 8c51effa07
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-04-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/35842
* tree-ssa-address.c (fixed_address_object_p): Adjust to match
is_gimple_invariant_address.
2008-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* gcc.c (default_compilers): Sync Fortran extensions list with

View File

@ -345,7 +345,8 @@ fixed_address_object_p (tree obj)
{
return (TREE_CODE (obj) == VAR_DECL
&& (TREE_STATIC (obj)
|| DECL_EXTERNAL (obj)));
|| DECL_EXTERNAL (obj))
&& ! DECL_DLLIMPORT_P (obj));
}
/* If ADDR contains an address of object that is a link time constant,