1. 25 Jun, 2005 15 commits
  2. 24 Jun, 2005 20 commits
  3. 23 Jun, 2005 5 commits
    • tree-optimize.c (init_tree_optimization_passes): Move copy prop pass to run just before VRP. · 94908762
              * tree-optimize.c (init_tree_optimization_passes): Move
              copy prop pass to run just before VRP.
              * tree-vrp.c (remove_range_assertions): Remove copies created
              by ASSERT_EXPR removal.
      
              * gcc.dg/tree-ssa/vrp16.c: New test.
      
      From-SVN: r101277
      Jeff Law committed
    • c99_functions.c (log10l): New log10l function for systems where this is not available. · 32aa3bff
      	* intrinsics/c99_functions.c (log10l): New log10l function for
      	systems where this is not available.
      	* c99_protos.h: Prototype for log10l function.
      	* libgfortran.h: Use generated kinds.h to define GFC_INTEGER_*,
      	GFC_UINTEGER_*, GFC_LOGICAL_*, GFC_REAL_*, GFC_COMPLEX_*. Update
      	prototypes for gfc_itoa and xtoa.
      	* io/io.h: Update prototypes for set_integer and max_value.
      	* io/list_read.c (convert_integer): Use new
      	GFC_(INTEGER|REAL)_LARGEST type.
      	* io/read.c (set_integer): Likewise.
      	(max_value): Likewise.
      	(convert_real): Likewise.
      	(real_l): Likewise.
      	(next_char): Likewise.
      	(read_decimal): Likewise.
      	(read_radix): Likewise.
      	(read_f): Likewise.
      	* io/write.c (extract_int): Use new GFC_INTEGER_LARGEST type.
      	(extract_real): Use new GFC_REAL_LARGEST type.
      	(calculate_exp): Likewise.
      	(calculate_G_format): Likewise.
      	(output_float): Likewise. Use log10l for long double values.
      	Add comment for sprintf format. Use GFC_REAL_LARGEST_FORMAT.
      	(write_l): Use new GFC_INTEGER_LARGEST type.
      	(write_float): Use new GFC_REAL_LARGEST type.
      	(write_int): Remove useless special case for (len < 8).
      	(write_decimal): Use GFC_INTEGER_LARGEST.
      	(otoa): Use GFC_UINTEGER_LARGEST as argument.
      	(btoa): Use GFC_UINTEGER_LARGEST as argument.
      	* runtime/error.c (gfc_itoa): Use GFC_INTEGER_LARGEST as
      	argument.
      	(xtoa): Use GFC_UINTEGER_LARGEST as argument.
      	* Makefile.am: Use mk-kinds-h.sh to generate header kinds.h
      	with all Fortran kinds available.
      	* configure.ac: Check for strtold and log10l.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      	* mk-kinds-h.sh: Configuration script for available integer
      	and real kinds.
      	* lib/target-supports.exp: Add
      	check_effective_target_fortran_large_real and
      	check_effective_target_fortran_large_int to check for
      	corresponding effective targets.
      	* gfortran.dg/large_integer_kind_1.f90: New test.
      	* gfortran.dg/large_real_kind_1.f90: New test.
      
      From-SVN: r101274
      Francois-Xavier Coudert committed
    • re PR libstdc++/22109 (/home/dave/opt/gnu/bin/ld: BFD 2.16.91 20050612 internal error) · 462ec415
      	PR libstdc++/22109
      	* src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
      	(istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
      	_M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
      	_M_set_length_and_sharable, ignore, eq): Define to XX suffixed
      	variants.
      	(ignore (streamsize)): Remove _W prefixed aliases.
      	(_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
      	_GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
      	(_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
      	Use #XXname instead of #name as the alias argument.
      	* config/abi/compatibility.h: Replace uses of
      	_GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER.  Always
      	pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
      	* include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
      	change.
      	* acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
      	* configure: Rebuilt.
      
      From-SVN: r101273
      Jakub Jelinek committed
    • re PR tree-optimization/22117 (VRP thinks <ptr type> + <ptr type> is always nonnull.) · e57f2b41
      gcc/
      	PR tree-optimization/22117
      	* tree-vrp.c (extract_range_from_binary_expr): Compute a
      	correct range when adding two pointers.
      
      testsuite/
      	PR tree-optimization/22117
      	* gcc.dg/tree-ssa/pr22117.c: New.
      
      From-SVN: r101272
      Kazu Hirata committed
    • re PR testsuite/22123 (gcc.dg/fold-mod-1.c scan-tree-dump a % 4294967288 fails) · a31de501
      2005-06-23  James A. Morrison  <phython@gcc.gnu.org>
      
              PR testsuite/22123
              * gcc.dg/fold-mod-1.c: Accept fffffff8 as well.
      
      From-SVN: r101271
      James A. Morrison committed