r124625 - in /branches/pointer_plus/gcc: Change...
pinskia@gcc.gnu.org
pinskia@gcc.gnu.org
Fri May 11 20:46:00 GMT 2007
Author: pinskia
Date: Fri May 11 20:46:18 2007
New Revision: 124625
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124625
Log:
2007-05-10 Andrew Pinski <andrew_pinski@playstation.sony.com>
Merge mainline, revision 124602.
* fold-const.c (extract_array_ref): Make sure the offset
is converted to sizetype.
(try_move_mult_to_index): Strip the NOPs from the offset.
(fold_binary <case POINTER_PLUS_EXPR>): Convert the second
operand to sizetype before calling try_move_mult_to_index.
* tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne):
For pointer types, use sizetype when
creating MINUS_EXPR/PLUS_EXPRs.
* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Make sure
the offset is converted to sizetype.
Added:
branches/pointer_plus/gcc/config/sparc/t-vxworks
- copied unchanged from r124602, trunk/gcc/config/sparc/t-vxworks
branches/pointer_plus/gcc/config/sparc/vxworks.h
- copied unchanged from r124602, trunk/gcc/config/sparc/vxworks.h
branches/pointer_plus/gcc/testsuite/g++.dg/abi/forced.C
- copied unchanged from r124602, trunk/gcc/testsuite/g++.dg/abi/forced.C
branches/pointer_plus/gcc/testsuite/g++.old-deja/g++.mike/empty.C
- copied unchanged from r124602, trunk/gcc/testsuite/g++.old-deja/g++.mike/empty.C
branches/pointer_plus/gcc/testsuite/gcc.dg/20070507-1.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.dg/20070507-1.c
branches/pointer_plus/gcc/testsuite/gcc.dg/pr31847.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.dg/pr31847.c
branches/pointer_plus/gcc/testsuite/gcc.dg/tree-ssa/loop-29.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.dg/tree-ssa/loop-29.c
branches/pointer_plus/gcc/testsuite/gcc.target/i386/pr31854.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.target/i386/pr31854.c
branches/pointer_plus/gcc/testsuite/gcc.target/mips/msub-1.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.target/mips/msub-1.c
branches/pointer_plus/gcc/testsuite/gcc.target/mips/msub-2.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.target/mips/msub-2.c
branches/pointer_plus/gcc/testsuite/gcc.target/mips/msub-3.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.target/mips/msub-3.c
branches/pointer_plus/gcc/testsuite/gcc.target/mips/msub-4.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.target/mips/msub-4.c
branches/pointer_plus/gcc/testsuite/gcc.target/mips/msubu-1.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.target/mips/msubu-1.c
branches/pointer_plus/gcc/testsuite/gcc.target/mips/msubu-2.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.target/mips/msubu-2.c
branches/pointer_plus/gcc/testsuite/gcc.target/mips/msubu-3.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.target/mips/msubu-3.c
branches/pointer_plus/gcc/testsuite/gcc.target/mips/msubu-4.c
- copied unchanged from r124602, trunk/gcc/testsuite/gcc.target/mips/msubu-4.c
branches/pointer_plus/gcc/testsuite/gfortran.dg/actual_array_result_1.f90
- copied unchanged from r124602, trunk/gcc/testsuite/gfortran.dg/actual_array_result_1.f90
branches/pointer_plus/gcc/testsuite/gfortran.dg/do_3.F90
- copied unchanged from r124602, trunk/gcc/testsuite/gfortran.dg/do_3.F90
branches/pointer_plus/gcc/testsuite/gfortran.dg/iostat_4.f90
- copied unchanged from r124602, trunk/gcc/testsuite/gfortran.dg/iostat_4.f90
branches/pointer_plus/gcc/testsuite/gfortran.dg/large_unit_1.f90
- copied unchanged from r124602, trunk/gcc/testsuite/gfortran.dg/large_unit_1.f90
branches/pointer_plus/gcc/testsuite/gfortran.dg/large_unit_2.f90
- copied unchanged from r124602, trunk/gcc/testsuite/gfortran.dg/large_unit_2.f90
branches/pointer_plus/gcc/testsuite/gfortran.dg/parameter_array_init_1.f90
- copied unchanged from r124602, trunk/gcc/testsuite/gfortran.dg/parameter_array_init_1.f90
branches/pointer_plus/gcc/testsuite/gfortran.dg/parameter_array_init_2.f90
- copied unchanged from r124602, trunk/gcc/testsuite/gfortran.dg/parameter_array_init_2.f90
branches/pointer_plus/gcc/testsuite/gfortran.dg/unf_read_corrupted_2.f90
- copied unchanged from r124602, trunk/gcc/testsuite/gfortran.dg/unf_read_corrupted_2.f90
branches/pointer_plus/gcc/testsuite/gnat.dg/opt1.adb
- copied unchanged from r124602, trunk/gcc/testsuite/gnat.dg/opt1.adb
branches/pointer_plus/gcc/testsuite/gnat.dg/opt1.ads
- copied unchanged from r124602, trunk/gcc/testsuite/gnat.dg/opt1.ads
Modified:
branches/pointer_plus/gcc/ChangeLog
branches/pointer_plus/gcc/ChangeLog.ptr
branches/pointer_plus/gcc/DATESTAMP
branches/pointer_plus/gcc/c-common.h
branches/pointer_plus/gcc/c-cppbuiltin.c
branches/pointer_plus/gcc/c-incpath.c
branches/pointer_plus/gcc/c-opts.c
branches/pointer_plus/gcc/collect2.c
branches/pointer_plus/gcc/config.gcc
branches/pointer_plus/gcc/config.in
branches/pointer_plus/gcc/config/bfin/bfin-protos.h
branches/pointer_plus/gcc/config/bfin/bfin.c
branches/pointer_plus/gcc/config/bfin/bfin.h
branches/pointer_plus/gcc/config/bfin/bfin.md
branches/pointer_plus/gcc/config/i386/i386.c
branches/pointer_plus/gcc/config/m32c/jump.md
branches/pointer_plus/gcc/config/m32c/m32c-protos.h
branches/pointer_plus/gcc/config/m32c/m32c.c
branches/pointer_plus/gcc/config/m32c/muldiv.md
branches/pointer_plus/gcc/config/m32c/shift.md
branches/pointer_plus/gcc/config/mips/mips-dspr2.md
branches/pointer_plus/gcc/config/mips/mips.c
branches/pointer_plus/gcc/config/mips/mips.h
branches/pointer_plus/gcc/config/mips/mips.md
branches/pointer_plus/gcc/config/sparc/sparc-protos.h
branches/pointer_plus/gcc/config/sparc/sparc.c
branches/pointer_plus/gcc/config/sparc/sparc.h
branches/pointer_plus/gcc/config/sparc/sparc.md
branches/pointer_plus/gcc/config/xtensa/xtensa.c
branches/pointer_plus/gcc/configure
branches/pointer_plus/gcc/configure.ac
branches/pointer_plus/gcc/cp/ChangeLog
branches/pointer_plus/gcc/cp/parser.c
branches/pointer_plus/gcc/doc/extend.texi
branches/pointer_plus/gcc/doc/invoke.texi
branches/pointer_plus/gcc/doc/md.texi
branches/pointer_plus/gcc/emit-rtl.c
branches/pointer_plus/gcc/expr.c
branches/pointer_plus/gcc/fold-const.c
branches/pointer_plus/gcc/fortran/ChangeLog
branches/pointer_plus/gcc/fortran/array.c
branches/pointer_plus/gcc/fortran/decl.c
branches/pointer_plus/gcc/fortran/gfortran.h
branches/pointer_plus/gcc/fortran/resolve.c
branches/pointer_plus/gcc/fortran/simplify.c
branches/pointer_plus/gcc/fortran/trans-array.c
branches/pointer_plus/gcc/fortran/trans-decl.c
branches/pointer_plus/gcc/fortran/trans-io.c
branches/pointer_plus/gcc/fortran/trans-stmt.c
branches/pointer_plus/gcc/fortran/trans.c
branches/pointer_plus/gcc/fortran/trans.h
branches/pointer_plus/gcc/gcc.c
branches/pointer_plus/gcc/genopinit.c
branches/pointer_plus/gcc/gimplify.c
branches/pointer_plus/gcc/ipa-type-escape.c
branches/pointer_plus/gcc/optabs.c
branches/pointer_plus/gcc/optabs.h
branches/pointer_plus/gcc/reload.c
branches/pointer_plus/gcc/testsuite/ChangeLog
branches/pointer_plus/gcc/testsuite/g++.dg/other/first-global.C
branches/pointer_plus/gcc/testsuite/g++.dg/parse/attr-externally-visible-1.C
branches/pointer_plus/gcc/testsuite/g++.old-deja/g++.other/inline8.C
branches/pointer_plus/gcc/testsuite/gcc.dg/dfp/convert-bfp-fold.c
branches/pointer_plus/gcc/testsuite/gcc.dg/invalid-call-1.c
branches/pointer_plus/gcc/testsuite/gcc.dg/pch/pch.exp
branches/pointer_plus/gcc/testsuite/gcc.dg/special/gcsec-1.c
branches/pointer_plus/gcc/testsuite/gfortran.dg/assumed_dummy_1.f90
branches/pointer_plus/gcc/testsuite/gfortran.dg/bounds_check_fail_1.f90
branches/pointer_plus/gcc/testsuite/gfortran.dg/char_initialiser_actual.f90
branches/pointer_plus/gcc/testsuite/gfortran.dg/nested_modules_2.f90
branches/pointer_plus/gcc/testsuite/gfortran.dg/new_line.f90
branches/pointer_plus/gcc/testsuite/gfortran.dg/shift-alloc.f90
branches/pointer_plus/gcc/tree-chrec.c
branches/pointer_plus/gcc/tree-chrec.h
branches/pointer_plus/gcc/tree-dump.c
branches/pointer_plus/gcc/tree-ssa-ccp.c
branches/pointer_plus/gcc/tree-ssa-dom.c
branches/pointer_plus/gcc/tree-ssa-loop-niter.c
More information about the Gcc-cvs
mailing list