1. 23 Jun, 2005 15 commits
    • 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
    • re PR java/20697 (Invalid Can't find method error on call to super) · c0f6dc94
      	PR java/20697
      	* parse.y (find_most_specific_methods_list): Remove special case for
      	inner classes.
      
      From-SVN: r101270
      Bryce McKinlay committed
    • re PR c++/19317 (removing a temporary return value when we cannot) · fa47911c
              PR c++/19317
              Leave the return slot target in the MODIFY_EXPR rather than making
              it an argument, but only use it if the CALL_EXPR has a flag set.
              * tree.h (CALL_EXPR_HAS_RETURN_SLOT_ADDR): Rename to
              CALL_EXPR_RETURN_SLOT_OPT.
              * calls.c (expand_call): Adjust.
              * tree-inline.c (expand_call_inline): Adjust.
              * tree-pretty-print.c (dump_generic_node): Adjust.
      
              And set the flag as appropriate.
              * gimplify.c (gimplify_modify_expr_rhs): Set
              CALL_EXPR_HAS_RETURN_SLOT_ADDR where the LHS is obviously safe.
              * tree-nrv.c (execute_return_slot_opt): Set
              CALL_EXPR_HAS_RETURN_SLOT_ADDR based on escape analysis.
              * tree-pass.h: Declare pass_return_slot.
              * tree-optimize.c (init_tree_optimization_passes): Add it.
      
              * cp/semantics.c (simplify_aggr_init_expr): Use
              CALL_EXPR_RETURN_SLOT_OPT, not CALL_EXPR_HAS_RETURN_SLOT_ADDR.
      
      From-SVN: r101269
      Jason Merrill committed
    • re PR target/21760 (Powerpc atomic builtins missing PPC405 errata) · f565b0a1
              PR target/21760
              * config/rs6000/rs6000.h (PPC405_ERRATUM77): New.
              * config/rs6000/rs6000.md: Move atomic instructions to ...
              * config/rs6000/sync.md: Here.
              Change sync_compare_and_swap<mode> to define_expand.  All stwcx
              patterns test PPC405_ERRATUM77.
      
      From-SVN: r101268
      David Edelsohn committed
    • * tree-inline.c (copy_body_r): Remap labels correctly. · 17acc01a
      From-SVN: r101266
      Jan Hubicka committed
    • * tree-inline.c (copy_body_r): Remap labels correctly. · 6c8cba6d
      From-SVN: r101265
      Jan Hubicka committed
    • Makefile.def (stagefeedback): Come after profile. · c7870f5d
      2005-06-22  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.def (stagefeedback): Come after profile.
      	Define profiledbootstrap target.
      	* Makefile.tpl (profiledbootstrap): Remove.
      	(stageprofile-end): Zap stagefeedback.
      	(stagefeedback-start): Copy all .gcda files, not only GCC's.
      	* Makefile.in: Regenerate.
      
      From-SVN: r101263
      Paolo Bonzini committed
    • f2c_4.f90: Add tests for complex functions · 09102896
      2005-06-23  David Billinghurst  <David.Billinghurst@riotinto.com>
      
      	* gfortran.dg/f2c_4.f90:  Add tests for complex functions
      	* gfortran.dg/f2c_4.c: Likewise
      
      From-SVN: r101262
      David Billinghurst committed
    • f2c_4.f90: Add tests for complex functions · 127c51ed
      2005-06-23  David Billinghurst  <David.Billinghurst@riotinto.com>
      
      	* gfortran.dg/f2c_4.f90:  Add tests for complex functions
      	* gfortran.dg/f2c_4.c: Likewise
      
      From-SVN: r101261
      David Billinghurst committed
    • * config/rs6000/sysv4.h (TARGET_ASM_EXCEPTION_SECTION): Delete. · c08a3565
      From-SVN: r101260
      Alan Modra committed
    • Daily bump. · 91f77d3d
      [[Split portion of a mixed commit.]]
      
      From-SVN: r101257.2
      GCC Administrator committed
  2. 22 Jun, 2005 6 commits
    • re PR fortran/21034 ([4.0 only] internal compiler error: in… · bd83e614
      re PR fortran/21034 ([4.0 only] internal compiler error: in gfc_trans_auto_array_allocation, at fortran/trans-array.c:3036)
      
      2005-06-22 Paul Brook  <paul@codesourcery.com>
      
      	PR fortran/21034
      	* symbol.c (gfc_is_var_automatic): New function.
      	(save_symbol): Use it.
      testsuite/
      	* gfortran.dg/auto_save_1.f90: New test.
      
      From-SVN: r101250
      Paul Brook committed
    • abi: New directory. · aacb3512
              * gcc.target/x86-64/abi: New directory.
              * gcc.target/x86-64/abi/abi-x86_64.exp: New testsuite.
              * gcc.target/x86-64/abi/README.gcc: New file.
              * gcc.target/x86-64/abi/{args.h,defines.h,macros.h}: New headers.
              * gcc.target/x86-64/abi/asm-support.s: New file.
              * gcc.target/x86_64/abi/test_3_element_struct_and_unions.c: New test.
              * gcc.target/x86_64/abi/test_basic_alignment.c: New test.
              * gcc.target/x86_64/abi/test_basic_array_size_and_align.c: New test.
              * gcc.target/x86_64/abi/test_basic_returning.c: New test.
              * gcc.target/x86_64/abi/test_basic_sizes.c: New test.
              * gcc.target/x86_64/abi/test_basic_struct_size_and_align.c: New test.
              * gcc.target/x86_64/abi/test_basic_union_size_and_align.c: New test.
              * gcc.target/x86_64/abi/test_bitfields.c: New test.
              * gcc.target/x86_64/abi/test_complex_returning.c: New test.
              * gcc.target/x86_64/abi/test_passing_floats.c: New test.
              * gcc.target/x86_64/abi/test_passing_integers.c: New test.
              * gcc.target/x86_64/abi/test_passing_structs_and_unions.c: New test.
              * gcc.target/x86_64/abi/test_passing_structs.c: New test.
              * gcc.target/x86_64/abi/test_passing_unions.c: New test.
              * gcc.target/x86_64/abi/test_struct_returning.c: New test.
              * gcc.target/x86_64/abi/test_varargs.c: New test.
      
      From-SVN: r101249
      Michael Matz committed
    • re PR middle-end/20593 (Simple array of string access miscompiled on x86 and x86_64 and PPC) · 0d26b2ff
      2005-06-22  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
      
              PR middle-end/20593
              * varasm.c (compute_reloc_for_constant): Treat VIEW_CONVER_EXPR
              the same as the other cast operands.
              (output_addressed_constants): Likewise.
      
      From-SVN: r101248
      Richard Kenner committed
    • Makefile.am (SUBDIRS): Use append for conditional. · feffe335
      2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.am (SUBDIRS): Use append for conditional.
      	(toolexeclib_LTLIBRARIES): Likewise.
      	(lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
      	a conditional append.
      	* Makefile.in: Regenerate.
      
      From-SVN: r101246
      Kelley Cook committed
    • Daily bump. · aee95d55
      [[Split portion of a mixed commit.]]
      
      From-SVN: r101242.2
      GCC Administrator committed
  3. 21 Jun, 2005 13 commits
    • mangle24.C, mangle25.C: Pass -mmmx for 32-bit i?86 and x86_64. · ed059c56
      	* g++.dg/abi/mangle24.C, g++.dg/abi/mangle25.C: Pass -mmmx for
      	32-bit i?86 and x86_64.
      
      From-SVN: r101240
      Joseph Myers committed
    • const-str-[1-9].mm: New tests. · 01277dc4
      [gcc/testsuite/ChangeLog]
      2005-06-21  Ziemowit Laski  <zlaski@apple.com>
      
              * obj-c++.dg/const-str-[1-9].mm: New tests.
      
      From-SVN: r101237
      Ziemowit Laski committed
    • * nl.po: Update. · 3a32ec1e
      From-SVN: r101235
      Joseph Myers committed
    • namelist_use_2.msg · 051cdfd4
      From-SVN: r101234
      Paul Thomas committed
    • namelist_use_1.msg · 15f9ce29
      Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
      
      From-SVN: r101233
      Tobias Schlüter committed
    • tree-vrp.c (extract_range_from_unary_expr): Handle type conversions better. · 2735e93e
              * tree-vrp.c (extract_range_from_unary_expr): Handle type
              conversions better.
      
              * gcc.dg/tree-ssa/vrp15.c: New test.
      
      From-SVN: r101232
      Jeff Law committed
    • genopinit.c (vec_shl_optab, [...]): Initialize new optabs. · a6b46ba2
              * genopinit.c (vec_shl_optab, vec_shr_optab): Initialize new optabs.
              (reduc_plus_optab): Removed.  Replcaed with...
              (reduc_splus_optab, reduc_uplus_optab): Initialize new optabs.
              * optabs.c (optab_for_tree_code): Return reduc_splus_optab or
              reduc_uplus_optab instead of reduc_plus_optab.
              (expand_vec_shift_expr): New function.
              (init_optabs): Initialize new optabs. Remove initialization of
              reduc_plus_optab.
              (optab_for_tree_code): Return vec_shl_optab/vec_shr_optab
              for VEC_LSHIFT_EXPR/VEC_RSHIFT_EXPR.
              * optabs.h (OTI_reduc_plus): Removed. Replaced with...
              (OTI_reduc_splus, OTI_reduc_uplus): New.
              (reduc_plus_optab): Removed.  Replcaed with...
              (reduc_splus_optab, reduc_uplus_optab): New optabs.
              (vec_shl_optab, vec_shr_optab): New optabs.
              (expand_vec_shift_expr): New function declaration.
      
              * tree.def (VEC_LSHIFT_EXPR, VEC_RSHIFT_EXPR): New tree-codes.
              * tree-inline.c (estimate_num_insns_1): Handle new tree-codes.
              * expr.c (expand_expr_real_1): Handle new tree-codes.
              * tree-pretty-print.c (dump_generic_node, op_symbol, op_prio): Likewise.
              * tree-vect-generic.c (expand_vector_operations_1): Add assert.
      
              * tree-vect-transform.c (vect_create_epilog_for_reduction): Add two
              alternatives for generating reduction epilog code.
              (vectorizable_reduction): Don't fail of direct reduction support is
              not available.
              (vectorizable_target_reduction_pattern): Likewise.
      
              * config/rs6000/altivec.md (reduc_smax_v4si, reduc_smax_v4sf,
              reduc_umax_v4si, reduc_smin_v4si, reduc_smin_v4sf, reduc_umin_v4si,
              reduc_plus_v4si, reduc_plus_v4sf): Removed.
              (vec_shl_<mode>, vec_shr_<mode>, altivec_vsumsws_nomode,
              reduc_splus_<mode>, reduc_uplus_v16qi): New.
      
      From-SVN: r101231
      Dorit Nuzman committed
    • func_derived_2.f90, [...]: New tests. · a3a2067a
      2005-06-21  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
      	Paul Thomas  <pault@gcc.gnu.org>
      
      	* gfortran.dg/func_derived_2.f90, gfortran.dg/func_derived_3.f90:
      	New tests.
      
      From-SVN: r101230
      Tobias Schlüter committed
    • c-typeck.c (build_function_call): Set fundecl = function again. · a5eadacc
      2005-06-20  Daniel Berlin  <dberlin@dberlin.org>
      
      	* c-typeck.c (build_function_call): Set fundecl = function again.
      	* tree-ssa-alias.c (find_used_portions): Address taking causes the
      	entire variable to be used.
      	* tree-ssa-structalias.c (do_structure_copy): Fix handling of
      	unknown size variables, and structure copies from addressof
      	operations.  Simplify how we do *a = *b type structure copies.
      	(init_base_vars): Add ANYTHING = &ANYTHING constraint the right
      	way.  READONLY's address is not taken by default.
      	INTEGER dereference should point to anything.
      	(create_variable_info_for): It's okay for the first field to not start
      	at 0.
      
      From-SVN: r101227
      Daniel Berlin committed
    • Index: include/ChangeLog · 83fbfe42
      2005-06-20  Geoffrey Keating  <geoffk@apple.com>
      
      	* libiberty.h (strverscmp): Prototype.
      
      Index: libiberty/ChangeLog
      2005-06-20  Geoffrey Keating  <geoffk@apple.com>
      
      	* strverscmp.c: New.
      	* Makefile.in (CFILES): Add strverscmp.c.
      	(CONFIGURED_OFILES): Add strverscmp.o.
      	(strverscmp.o): New rule.
      	(stamp-functions): Add $(srcdir) to files in source directory.
      	* configure.ac (funcs): Add strverscmp.
      	(AC_CHECK_FUNCS): Add strverscmp.
      	* configure: Regenerate.
      	* functions.texi: Regenerate.
      
      From-SVN: r101226
      Geoffrey Keating committed
    • config/sh/linux.h (FUNCTION_PROFILER): Constify a char*. · 76243d10
      From-SVN: r101225
      Kaz Kojima committed
    • Daily bump. · 4818f841
      [[Split portion of a mixed commit.]]
      
      From-SVN: r101222.2
      GCC Administrator committed
    • config-lang.in (gtfiles): Add cp/rtti.c. · d5abf34d
      [gcc/objcp/ChangeLog]
      2005-06-20  Ziemowit Laski  <zlaski@apple.com>
      
              * config-lang.in (gtfiles): Add cp/rtti.c.
      
      From-SVN: r101220
      Ziemowit Laski committed
  4. 20 Jun, 2005 6 commits