1. 06 Oct, 2005 25 commits
  2. 05 Oct, 2005 15 commits
    • sso_string_base.h (struct __sso_string_local): Remove... · c54c1b2b
      2005-10-05  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/sso_string_base.h (struct __sso_string_local):
      	Remove, actually POD types cannot have user defined constructors
      	(being aggregates) and therefore can always be members of unions.
      	(class __sso_string_base): Adjust consistently.
      
      From-SVN: r105021
      Paolo Carlini committed
    • re PR middle-end/20606 (ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2… · d14e25e0
      re PR middle-end/20606 (ICE in make_edges, at cfgbuild.c:327 on x86_64 (with O2 - not with no optimizations))
      
      2005-10-05  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR middle-end/20606
              PR middle-end/24069
              * reload.c (subst_reloads): When adding a REG_LABEL to a
              jump instruction, also update JUMP_LABEL.
      
      From-SVN: r105013
      Andrew Pinski committed
    • params.def (PARAM_MAX_GROW_COPY_BB_INSNS): New. · f935b9e0
              * params.def (PARAM_MAX_GROW_COPY_BB_INSNS): New.
              * bb-reorder.c (copy_bb_p): Use it.
              * doc/invoke.texi (param table): Add max-grow-copy-bb-insn.
      
      From-SVN: r105011
      David Edelsohn committed
    • re PR libstdc++/24198 (Remove from the testsuite gnu_char_type (or fix it)) · 31131ac1
      2005-10-05  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/24198
      	* testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
      	instead.
      	* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
      	* testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
      	* testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
      	* testsuite/27_io/basic_ios/3.cc: Likewise.
      	* testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
      	* testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
      	* testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
      	* testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
      	* testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
      	* testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
      	* testsuite/27_io/basic_streambuf/3.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/3.cc: Likewise.
      	* testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
      
      From-SVN: r105010
      Paolo Carlini committed
    • re PR target/23602 (1081 test failures in libjava, when configured for i486-linux) · d3073c70
              PR target/23602
              * toplev.c (process_options): Warn about unsupported combinations
              of unwind tables and omit-frame-pointer.
              * config/i386/i386.c (override_options): Similarly.  Enable
              accumulate-outgoing-args if not explicitly disabled.
      testsuite/
              * g++.dg/eh/omit-frame-pointer.C: Remove i?86 specific options.
              * g++.dg/eh/omit-frame-pointer2.C: Likewise.
      libjava/
              * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
              but not BACKTRACESPEC.
              (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
      
      From-SVN: r105009
      Richard Henderson committed
    • vect.md (vec_initv2si): Fix typo of V2SF to V2SI. · 10dc6e8c
      	* vect.md (vec_initv2si): Fix typo of V2SF to V2SI.
      	Handle big endian vs. small endian.
      	(vec_initv2sf): Handle big endian vs. small endian.
      	(*vec_extractv2sf_1): Ditto.
      
      From-SVN: r105008
      Steve Ellcey committed
    • convert.c (convert_to_real): Don't convert (float)floor(double d) to floorf((float)d). · 9f85ecfe
      2005-10-05  Dale Johannesen  <dalej@apple.com>
      
              * convert.c (convert_to_real):  Don't convert
              (float)floor(double d) to floorf((float)d).
      
      From-SVN: r105006
      Dale Johannesen committed
    • float-floor.c: New. · 8acdc22e
      2005-10-05  Dale Johannesen  <dalej@apple.com>
      
              * gcc.c-torture/execute/float-floor.c:  New.
      
      From-SVN: r105004
      Dale Johannesen committed
    • Makefile.tpl (all): Make prebootstrap packages before other host packages. · db38c6bb
      2005-10-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.tpl (all) [gcc-no-bootstrap]: Make prebootstrap packages
      	before other host packages.
      
      From-SVN: r105002
      Paolo Bonzini committed
    • PR libstdc++/11729 (DR 280, [Ready]) · c6ff1944
      2005-10-05  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/11729 (DR 280, [Ready])
      	* include/bits/stl_iterator.h: Add reverse_iterator global
      	functions with two template parameters (operator==, !=, <,
      	>, <=, >=, -).
      	* testsuite/24_iterators/reverse_iterator/11729.cc: New.
      	* docs/html/ext/howto.html: Add an entry for issue 280.
      
      From-SVN: r105000
      Paolo Carlini committed
    • re PR tree-optimization/18587 (build_v_may_defs and build_vuses can be improved when adding) · f3940b0e
      
      2005-10-05  Andrew MacLeod  <amacleod@redhat.com>
      
      	PR tree-optimization/18587
      
      	* tree-ssa-operands.c (struct opbuild_list_d, OPBUILD_LAST): Delete.
      	(build_defs, build_uses, build_v_may_defs, build_v_must_defs,
      	build_vuses): Change to VEC type.
      	(opbuild_initialize_virtual, opbuild_initialize_real, opbuild_free,
      	opbuild_num_elems, opbuild_append_real, opbuild_append_virtual,
      	opbuild_first, opbuild_next, opbuild_elem_real, opbuild_elem_virtual,
      	opbuild_elem_uid, opbuild_clear, opbuild_remove_elem): Delete.
      	(get_name_decl): New.  Return DECL_UID of base variable.
      	(operand_build_cmp): New.  qsort comparison routine.
      	(operand_build_sort_virtual): New.  Sort virtual build vector.
      	(init_ssa_operands, fini_ssa_operands): Use VEC routines.
      	(FINALIZE_OPBUILD_BASE, FINALIZE_OPBUILD_ELEM): Use VEC_Index.
      	(FINALIZE_BASE): Use get_name_decl.
      	(finalize_ssa_defs, finalize_ssa_uses, cleanup_v_may_defs,
      	finalize_ssa_v_may_defs, finalize_ssa_vuses, finalize_ssa_v_must_defs,
      	(start_ssa_stmt_operands, append_def, append_use, append_vuse,
      	append_v_may_def, append_v_must_def): Replace opbuild_* routines with
      	direct VEC_* manipulations.
      	(build_ssa_operands): Call operand_build_sort_virtual.
      	(copy_virtual_operand, create_ssa_artficial_load_stmt,
      	add_call_clobber_ops, add_call_read_ops): Replace opbuild_* routines
      	with direct VEC_* manipulations.
      	* tree-ssa-opfinalize.h (FINALIZE_FUNC): Replace opbuild_* routines
      	with direct VEC manipulations.
      
      From-SVN: r104996
      Andrew MacLeod committed
    • * MAINTAINERS: Add self as sh libraries/configury maintainer. · 3015564c
      From-SVN: r104994
      Kaz Kojima committed
    • re PR c/21419 (Accepts writting to const via asm) · 5544530a
      2005-10-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR tree-optimization/21419
      	PR tree-optimization/24146
      	PR tree-optimization/24151
      
      	* c-typeck.c (readonly_error): Handle USE being lv_asm.
      	(build_asm_expr): Call it if outputs are read-only.
      	* gimplify.c (gimplify_asm_expr): Remove former fix to PR 21419.
      
      cp:
      2005-10-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR tree-optimization/21419
      	PR tree-optimization/24146
      	PR tree-optimization/24151
      
      	* semantics.c (finish_asm_stmt): Call readonly_error if outputs are
      	read-only.  Set ASM_VOLATILE_P for asms without outputs.
      
      testsuite:
      2005-10-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR tree-optimization/21419
      	PR tree-optimization/24146
      	PR tree-optimization/24151
      
      	* g++.dg/ext/asm7.C: New.
      	* g++.dg/ext/asm8.C: New.
      	* gcc.dg/asm-1.c: Compile on all targets.
      	* gcc.dg/asm-pr24146.c: New.
      	* gcc.dg/pr21419.c: Adjust error messages.
      
      From-SVN: r104988
      Paolo Bonzini committed
    • re PR fortran/24176 (gfortran segfaults on empty source) · c82cdb5d
      2005-10-05  Richard Guenther  <rguenther@suse.de>
      
      	PR fortran/24176
      	* parse.c (gfc_parse_file): Exit early for empty files.
      
      	* gfortran.fortran-torture/compile/empty.f90: New testcase.
      
      From-SVN: r104984
      Richard Guenther committed