Commit 8c51effa by Richard Guenther Committed by Richard Biener

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
parent fbe88ffa
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> 2008-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* gcc.c (default_compilers): Sync Fortran extensions list with * gcc.c (default_compilers): Sync Fortran extensions list with
......
...@@ -345,7 +345,8 @@ fixed_address_object_p (tree obj) ...@@ -345,7 +345,8 @@ fixed_address_object_p (tree obj)
{ {
return (TREE_CODE (obj) == VAR_DECL return (TREE_CODE (obj) == VAR_DECL
&& (TREE_STATIC (obj) && (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, /* If ADDR contains an address of object that is a link time constant,
......
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