Commit 5f787cbc by Zdenek Dvorak Committed by Zdenek Dvorak

re PR tree-optimization/31085 (internal compiler error: in create_mem_ref, at…

re PR tree-optimization/31085 (internal compiler error: in create_mem_ref, at tree-ssa-address.c:606)

	PR tree-optimization/31085
	* tree-ssa-address.c (create_mem_ref): Fix test of type of base.

From-SVN: r122724
parent 9d1d1cd4
2007-03-08 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/31085
* tree-ssa-address.c (create_mem_ref): Fix test of type of base.
2007-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2007-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtins.def (lceil, lceilf, lceill, lfloor, lfloorf, lfloorl, * builtins.def (lceil, lceilf, lceill, lfloor, lfloorf, lfloorl,
......
...@@ -603,7 +603,8 @@ create_mem_ref (block_stmt_iterator *bsi, tree type, aff_tree *addr) ...@@ -603,7 +603,8 @@ create_mem_ref (block_stmt_iterator *bsi, tree type, aff_tree *addr)
/* Add the symbol to base, eventually forcing it to register. */ /* Add the symbol to base, eventually forcing it to register. */
if (parts.base) if (parts.base)
{ {
gcc_assert (TREE_TYPE (parts.base) == sizetype); gcc_assert (tree_ssa_useless_type_conversion_1
(sizetype, TREE_TYPE (parts.base)));
if (parts.index) if (parts.index)
{ {
......
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