mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-20 02:00:48 +08:00
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
This commit is contained in:
parent
9d1d1cd449
commit
5f787cbcaf
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* builtins.def (lceil, lceilf, lceill, lfloor, lfloorf, lfloorl,
|
||||
|
@ -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. */
|
||||
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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user