diff options
author | Zdenek Dvorak <dvorakz@suse.cz> | 2007-01-12 01:17:50 +0100 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2007-01-12 00:17:50 +0000 |
commit | 820410e0d5f0726b17c98ed28ff4bdb52d4ec3a6 (patch) | |
tree | 4f0ceeb55e07fcd9ef99ed14270909b4ee266f73 /gcc/tree.def | |
parent | 2d3cb33a102caf5615263011a3a35ff7149b482a (diff) | |
download | gcc-820410e0d5f0726b17c98ed28ff4bdb52d4ec3a6.zip gcc-820410e0d5f0726b17c98ed28ff4bdb52d4ec3a6.tar.gz gcc-820410e0d5f0726b17c98ed28ff4bdb52d4ec3a6.tar.bz2 |
re PR tree-optimization/29516 (gfortran miscompiled)
PR tree-optimization/29516
* tree-ssa-address.c (tree_mem_ref_addr, add_to_parts,
most_expensive_mult_to_index, addr_to_parts,
create_mem_ref, maybe_fold_tmr): Make the type of
fields of TARGET_MEM_REF sizetype.
(move_fixed_address_to_symbol, move_pointer_to_base):
New functions.
* tree.def (TARGET_MEM_REF): Add comment on types of
the operands.
* gcc.dg/tree-ssa/loop-20.c: New test.
From-SVN: r120695
Diffstat (limited to 'gcc/tree.def')
-rw-r--r-- | gcc/tree.def | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree.def b/gcc/tree.def index 0e3f664..a85f02d 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -937,6 +937,9 @@ DEFTREECODE (REALIGN_LOAD_EXPR, "realign_load", tcc_expression, 3) OFFSET (integer constant). Corresponding address is SYMBOL + BASE + STEP * INDEX + OFFSET. Only variations and values valid on the target are allowed. + + The type of STEP, INDEX and OFFSET is sizetype. The type of BASE is + sizetype or a pointer type (if SYMBOL is NULL). The sixth argument is the reference to the original memory access, which is preserved for the purposes of the RTL alias analysis. The seventh |