r124728 - in /branches/pointer_plus: ChangeLog ...

pinskia@gcc.gnu.org pinskia@gcc.gnu.org
Mon May 14 22:06:00 GMT 2007


Author: pinskia
Date: Mon May 14 22:06:25 2007
New Revision: 124728

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124728
Log:
2007-05-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        Merge mainline, revision 124657
        * tree-data-ref.c (split_constant_offset): Handle
        POINTER_PLUS_EXPR
        exactly the same as PLUS_EXPR/MINUS_EXPR except for the offset
        needs to be calcuated using PLUS_EXPR instead of
        POINTER_PLUS_EXPR.
        * builtins.c (fold_builtin_memchr): Use POINTER_PLUS_EXPR
        instead of PLUS_EXPR for adding to a pointer.



Added:
    branches/pointer_plus/libstdc++-v3/testsuite/19_diagnostics/bad_exception/
      - copied from r124657, trunk/libstdc++-v3/testsuite/19_diagnostics/bad_exception/
    branches/pointer_plus/libstdc++-v3/testsuite/19_diagnostics/logic_error/
      - copied from r124657, trunk/libstdc++-v3/testsuite/19_diagnostics/logic_error/
    branches/pointer_plus/libstdc++-v3/testsuite/19_diagnostics/runtime_error/
      - copied from r124657, trunk/libstdc++-v3/testsuite/19_diagnostics/runtime_error/
Removed:
    branches/pointer_plus/libstdc++-v3/testsuite/19_diagnostics/23591_thread-1.c
    branches/pointer_plus/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc
Modified:
    branches/pointer_plus/libstdc++-v3/ChangeLog
    branches/pointer_plus/libstdc++-v3/config/locale/darwin/ctype_members.cc
    branches/pointer_plus/libstdc++-v3/config/locale/generic/c_locale.cc
    branches/pointer_plus/libstdc++-v3/config/locale/generic/c_locale.h
    branches/pointer_plus/libstdc++-v3/config/locale/generic/codecvt_members.cc
    branches/pointer_plus/libstdc++-v3/config/locale/generic/collate_members.cc
    branches/pointer_plus/libstdc++-v3/config/locale/generic/ctype_members.cc
    branches/pointer_plus/libstdc++-v3/config/locale/generic/messages_members.h
    branches/pointer_plus/libstdc++-v3/config/locale/generic/time_members.cc
    branches/pointer_plus/libstdc++-v3/config/locale/generic/time_members.h
    branches/pointer_plus/libstdc++-v3/config/locale/gnu/c++locale_internal.h
    branches/pointer_plus/libstdc++-v3/config/locale/gnu/c_locale.h
    branches/pointer_plus/libstdc++-v3/config/locale/gnu/messages_members.cc
    branches/pointer_plus/libstdc++-v3/config/locale/gnu/messages_members.h
    branches/pointer_plus/libstdc++-v3/config/locale/gnu/monetary_members.cc
    branches/pointer_plus/libstdc++-v3/config/locale/gnu/time_members.cc
    branches/pointer_plus/libstdc++-v3/config/locale/gnu/time_members.h
    branches/pointer_plus/libstdc++-v3/config/os/gnu-linux/ctype_noninline.h
    branches/pointer_plus/libstdc++-v3/config/os/tpf/ctype_noninline.h
    branches/pointer_plus/libstdc++-v3/include/bits/char_traits.h
    branches/pointer_plus/libstdc++-v3/include/bits/codecvt.h
    branches/pointer_plus/libstdc++-v3/include/bits/fstream.tcc
    branches/pointer_plus/libstdc++-v3/include/bits/locale_classes.h
    branches/pointer_plus/libstdc++-v3/include/bits/locale_facets.h
    branches/pointer_plus/libstdc++-v3/include/bits/locale_facets_nonio.h
    branches/pointer_plus/libstdc++-v3/include/bits/stl_tempbuf.h
    branches/pointer_plus/libstdc++-v3/include/ext/pod_char_traits.h
    branches/pointer_plus/libstdc++-v3/include/std/bitset
    branches/pointer_plus/libstdc++-v3/include/std/stdexcept
    branches/pointer_plus/libstdc++-v3/include/tr1/type_traitsfwd.h
    branches/pointer_plus/libstdc++-v3/src/ctype.cc
    branches/pointer_plus/libstdc++-v3/testsuite/21_strings/basic_string/capacity/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/21_strings/basic_string/compare/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/21_strings/char_traits/requirements/short/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/in/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/3.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/4.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/5.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/6.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/7.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/8.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/9.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/2.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/3.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/4.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/5.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/6.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/7.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/max_length/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/out/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/2.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/3.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/4.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/5.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/6.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/7.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/unshift/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/2.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/3.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/4.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/collate_byname/named_equivalence.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/ctype/narrow/char/19955.cc
    branches/pointer_plus/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc
    branches/pointer_plus/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc
    branches/pointer_plus/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/2.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/3.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/4.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/objects/wchar_t/11.cc
    branches/pointer_plus/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc
    branches/pointer_plus/libstdc++-v3/testsuite/ext/codecvt/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/ext/codecvt/char-1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/ext/codecvt/char-2.cc
    branches/pointer_plus/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc
    branches/pointer_plus/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc
    branches/pointer_plus/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc

Changes in other areas also in this revision:
Added:
    branches/pointer_plus/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-base-derived.C
      - copied unchanged from r124657, trunk/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-base-derived.C
    branches/pointer_plus/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-char-1.C
      - copied unchanged from r124657, trunk/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-char-1.C
    branches/pointer_plus/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-const.C
      - copied unchanged from r124657, trunk/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-const.C
    branches/pointer_plus/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-nested-arrays.C
      - copied unchanged from r124657, trunk/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-nested-arrays.C
    branches/pointer_plus/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-signed-unsigned.C
      - copied unchanged from r124657, trunk/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-signed-unsigned.C
    branches/pointer_plus/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-struct-included.C
      - copied unchanged from r124657, trunk/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-struct-included.C
    branches/pointer_plus/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-union.C
      - copied unchanged from r124657, trunk/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-union.C
    branches/pointer_plus/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C
      - copied unchanged from r124657, trunk/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C
    branches/pointer_plus/gcc/testsuite/gcc.c-torture/compile/pr31797.c
      - copied unchanged from r124657, trunk/gcc/testsuite/gcc.c-torture/compile/pr31797.c
    branches/pointer_plus/gcc/testsuite/gcc.c-torture/execute/builtins/lib/memchr.c
      - copied unchanged from r124657, trunk/gcc/testsuite/gcc.c-torture/execute/builtins/lib/memchr.c
    branches/pointer_plus/gcc/testsuite/gcc.c-torture/execute/builtins/memchr-lib.c
      - copied unchanged from r124657, trunk/gcc/testsuite/gcc.c-torture/execute/builtins/memchr-lib.c
    branches/pointer_plus/gcc/testsuite/gcc.c-torture/execute/builtins/memchr.c
      - copied unchanged from r124657, trunk/gcc/testsuite/gcc.c-torture/execute/builtins/memchr.c
    branches/pointer_plus/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-const-ptr-nonconst-ptr.c
      - copied unchanged from r124657, trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-const-ptr-nonconst-ptr.c
    branches/pointer_plus/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-never-dereferenced.c
      - copied unchanged from r124657, trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-never-dereferenced.c
    branches/pointer_plus/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-struct-included.c
      - copied unchanged from r124657, trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-struct-included.c
    branches/pointer_plus/gcc/testsuite/gcc.dg/Wstrict-aliasing-converted-assigned.c
      - copied unchanged from r124657, trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-converted-assigned.c
    branches/pointer_plus/gcc/testsuite/gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c
      - copied unchanged from r124657, trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c
    branches/pointer_plus/gcc/testsuite/gcc.dg/dse.c
      - copied unchanged from r124657, trunk/gcc/testsuite/gcc.dg/dse.c
    branches/pointer_plus/gcc/testsuite/gcc.dg/tree-ssa/loop-30.c
      - copied unchanged from r124657, trunk/gcc/testsuite/gcc.dg/tree-ssa/loop-30.c
    branches/pointer_plus/gcc/testsuite/gfortran.dg/entry_10.f90
      - copied unchanged from r124657, trunk/gcc/testsuite/gfortran.dg/entry_10.f90
    branches/pointer_plus/gcc/testsuite/gfortran.dg/host_assoc_function_1.f90
      - copied unchanged from r124657, trunk/gcc/testsuite/gfortran.dg/host_assoc_function_1.f90
    branches/pointer_plus/gcc/testsuite/gfortran.dg/namelist_29.f90
      - copied unchanged from r124657, trunk/gcc/testsuite/gfortran.dg/namelist_29.f90
    branches/pointer_plus/gcc/testsuite/gfortran.dg/recursive_reference_1.f90
      - copied unchanged from r124657, trunk/gcc/testsuite/gfortran.dg/recursive_reference_1.f90
    branches/pointer_plus/gcc/testsuite/gfortran.dg/recursive_reference_2.f90
      - copied unchanged from r124657, trunk/gcc/testsuite/gfortran.dg/recursive_reference_2.f90
    branches/pointer_plus/gcc/tree-ssa-alias-warnings.c
      - copied unchanged from r124657, trunk/gcc/tree-ssa-alias-warnings.c
Modified:
    branches/pointer_plus/ChangeLog
    branches/pointer_plus/MAINTAINERS
    branches/pointer_plus/gcc/ChangeLog
    branches/pointer_plus/gcc/ChangeLog.ptr
    branches/pointer_plus/gcc/DATESTAMP
    branches/pointer_plus/gcc/Makefile.in
    branches/pointer_plus/gcc/basic-block.h
    branches/pointer_plus/gcc/builtin-types.def
    branches/pointer_plus/gcc/builtins.c
    branches/pointer_plus/gcc/builtins.def
    branches/pointer_plus/gcc/c-common.c
    branches/pointer_plus/gcc/c-common.h
    branches/pointer_plus/gcc/c-decl.c
    branches/pointer_plus/gcc/c-opts.c
    branches/pointer_plus/gcc/c-typeck.c
    branches/pointer_plus/gcc/cfghooks.c
    branches/pointer_plus/gcc/cfgloop.c
    branches/pointer_plus/gcc/cfgloop.h
    branches/pointer_plus/gcc/cfgloopanal.c
    branches/pointer_plus/gcc/cfgloopmanip.c
    branches/pointer_plus/gcc/cgraphunit.c
    branches/pointer_plus/gcc/config/s390/s390.md
    branches/pointer_plus/gcc/configure
    branches/pointer_plus/gcc/configure.ac
    branches/pointer_plus/gcc/cp/ChangeLog
    branches/pointer_plus/gcc/cp/decl2.c
    branches/pointer_plus/gcc/cp/semantics.c
    branches/pointer_plus/gcc/cp/typeck.c
    branches/pointer_plus/gcc/doc/extend.texi
    branches/pointer_plus/gcc/doc/invoke.texi
    branches/pointer_plus/gcc/flags.h
    branches/pointer_plus/gcc/fortran/ChangeLog
    branches/pointer_plus/gcc/fortran/decl.c
    branches/pointer_plus/gcc/fortran/gfortran.h
    branches/pointer_plus/gcc/fortran/match.h
    branches/pointer_plus/gcc/fortran/primary.c
    branches/pointer_plus/gcc/fortran/resolve.c
    branches/pointer_plus/gcc/fortran/symbol.c
    branches/pointer_plus/gcc/fortran/trans-expr.c
    branches/pointer_plus/gcc/fortran/trans-io.c
    branches/pointer_plus/gcc/gcse.c
    branches/pointer_plus/gcc/lambda-code.c
    branches/pointer_plus/gcc/loop-invariant.c
    branches/pointer_plus/gcc/modulo-sched.c
    branches/pointer_plus/gcc/opts.c
    branches/pointer_plus/gcc/passes.c
    branches/pointer_plus/gcc/testsuite/ChangeLog
    branches/pointer_plus/gcc/testsuite/g++.dg/tree-ssa/pr31146.C
    branches/pointer_plus/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-7.C
    branches/pointer_plus/gcc/testsuite/g++.dg/warn/multiple-overflow-warn-3.C
    branches/pointer_plus/gcc/testsuite/gcc.dg/alias-1.c
    branches/pointer_plus/gcc/testsuite/gcc.dg/alias-9.c
    branches/pointer_plus/gcc/testsuite/gcc.dg/tree-ssa/pr17141-1.c
    branches/pointer_plus/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c
    branches/pointer_plus/gcc/tree-cfg.c
    branches/pointer_plus/gcc/tree-data-ref.c
    branches/pointer_plus/gcc/tree-data-ref.h
    branches/pointer_plus/gcc/tree-flow.h
    branches/pointer_plus/gcc/tree-loop-linear.c
    branches/pointer_plus/gcc/tree-scalar-evolution.c
    branches/pointer_plus/gcc/tree-scalar-evolution.h
    branches/pointer_plus/gcc/tree-ssa-alias.c
    branches/pointer_plus/gcc/tree-ssa-dse.c
    branches/pointer_plus/gcc/tree-ssa-forwprop.c
    branches/pointer_plus/gcc/tree-ssa-loop-im.c
    branches/pointer_plus/gcc/tree-ssa-loop-manip.c
    branches/pointer_plus/gcc/tree-ssa-pre.c
    branches/pointer_plus/gcc/tree-vect-analyze.c
    branches/pointer_plus/gcc/tree-vect-transform.c
    branches/pointer_plus/gcc/tree-vectorizer.c
    branches/pointer_plus/libjava/ChangeLog
    branches/pointer_plus/libjava/classpath/lib/java/lang/PosixProcess$EOFInputStream.class
    branches/pointer_plus/libjava/classpath/lib/java/lang/PosixProcess$ProcessManager.class
    branches/pointer_plus/libjava/classpath/lib/java/lang/PosixProcess.class
    branches/pointer_plus/libjava/include/posix-threads.h
    branches/pointer_plus/libjava/java/lang/PosixProcess$ProcessManager.h
    branches/pointer_plus/libjava/java/lang/PosixProcess.h
    branches/pointer_plus/libjava/java/lang/PosixProcess.java
    branches/pointer_plus/libjava/java/lang/natPosixProcess.cc
    branches/pointer_plus/libjava/posix-threads.cc



More information about the Libstdc++-cvs mailing list