diff options
author | Jeff Law <law@gcc.gnu.org> | 2005-05-31 08:33:29 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2005-05-31 08:33:29 -0600 |
commit | 4ea73bfac370705eaf74e204264bf994c51bdfd9 (patch) | |
tree | a7d96a788cce99a3c5e29aae3516eefd479c4bc4 /gcc/fortran/trans-array.c | |
parent | aa7f91020495d7fb90d297e66b82674c60697968 (diff) | |
download | gcc-4ea73bfac370705eaf74e204264bf994c51bdfd9.zip gcc-4ea73bfac370705eaf74e204264bf994c51bdfd9.tar.gz gcc-4ea73bfac370705eaf74e204264bf994c51bdfd9.tar.bz2 |
fold-const.c (extract_array_ref): Handle more cases, do some useful canonicalization of the base.
* fold-const.c (extract_array_ref): Handle more cases,
do some useful canonicalization of the base.
(fold_binary): Explicitly deal with arrays of zero-sized
structures during folding of &a[i] == &a[j].
* gcc.dg/tree-ssa/foldaddr-1.c: New test.
From-SVN: r100391
Diffstat (limited to 'gcc/fortran/trans-array.c')
0 files changed, 0 insertions, 0 deletions