- 18 Jun, 2005 6 commits
-
-
* tree.def (REDUC_MAX_EXPR, REDUC_MIN_EXPR, REDUC_PLUS_EXPR): New tree-codes. * optabs.h (OTI_reduc_smax, OTI_reduc_umax, OTI_reduc_smin, OTI_reduc_umin, OTI_reduc_plus): New optabs for reduction. (reduc_smax_optab, reduc_umax_optab, reduc_smin_optab, reduc_umin_optab, reduc_plus_optab): New optabs for reduction. * expr.c (expand_expr_real_1): Handle new tree-codes. * tree-inline.c (estimate_num_insns_1): Handle new tree-codes. * tree-pretty-print.c (dump_generic_node, op_prio, op_symbol): Handle new tree-codes. * optabs.c (optab_for_tree_code): Handle new tree-codes. (init_optabs): Initialize new optabs. * genopinit.c (optabs): Define handlers for new optabs. * tree-vect-analyze.c (vect_analyze_operations): Fail vectorization in case of a phi that is marked as relevant. Call vectorizable_reduction. (vect_mark_relevant): Phis may be marked as relevant. (vect_mark_stmts_to_be_vectorized): The use corresponding to the reduction variable in a reduction stmt does not mark its defining phi as relevant. Update documentation accordingly. (vect_can_advance_ivs_p): Skip reduction phis. * tree-vect-transform.c (vect_get_vec_def_for_operand): Takes additional argument. Handle reduction. (vect_create_destination_var): Update call to vect_get_new_vect_var. Handle non-vector argument. (get_initial_def_for_reduction): New function. (vect_create_epilog_for_reduction): New function. (vectorizable_reduction): New function. (vect_get_new_vect_var): Handle new vect_var_kind. (vectorizable_assignment, vectorizable_operation, vectorizable_store, vectorizable_condition): Update call to vect_get_new_vect_var. (vect_transform_stmt): Call vectorizable_reduction. (vect_update_ivs_after_vectorizer): Skip reduction phis. (vect_transform_loop): Skip if stmt is both not relevant and not live. * tree-vectorizer.c (reduction_code_for_scalar_code): New function. (vect_is_simple_reduction): Was empty - added implementation. * tree-vectorizer.h (vect_scalar_var): New enum vect_var_kind value. (reduc_vec_info_type): New enum vect_def_type value. * config/rs6000/altivec.md (reduc_smax_v4si, reduc_smax_v4sf, reduc_umax_v4si, reduc_smin_v4si, reduc_umin_v4sf, reduc_smin_v4sf, reduc_plus_v4si, reduc_plus_v4sf): New define_expands. * tree-vect-analyze.c (vect_determine_vectorization_factor): Remove ENABLE_CHECKING around gcc_assert. * tree-vect-transform.c (vect_do_peeling_for_loop_bound, (vect_do_peeling_for_alignment, vect_transform_loop, vect_get_vec_def_for_operand): Likewise. From-SVN: r101155
Dorit Nuzman committed -
* config/ia64/ia64.c (ia64_function_arg): Set up a PARALLEL for a big-endian unnamed __float80 value. testsuite: * gcc.target/ia64/float80-varargs-1.c: New test. From-SVN: r101153
Joseph Myers committed -
PR tree-opt/22035 * gfortran.dg/f2c_6.f90: New test. From-SVN: r101152
Tobias Schlüter committed -
PR tree-opt/22103 * tree-sra.c (generate_copy_inout): Handle SSA_NAME complex destinations. From-SVN: r101150
Richard Henderson committed -
2005-06-17 Jakub Jelinek <jakub@redhat.com> Benjamin Kosnik <bkoz@redhat.com> * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update. * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same. * config/abi/mips-linux-gnu/baseline_symbols.txt: Same. * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same. * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove. * config/abi/i386-freebsd4/baseline_symbols.txt: Same. * config/abi/i386-freebsd5/baseline_symbols.txt: Same. * config/abi/sparc-freebsd5/baseline_symbols.txt: Same. * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove. * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same. From-SVN: r101149
Jakub Jelinek committed -
[[Split portion of a mixed commit.]] From-SVN: r101146.2
GCC Administrator committed
-
- 17 Jun, 2005 19 commits
-
-
2005-06-17 Geoffrey Keating <geoffk@apple.com> PR c++/17413 * pt.c (type_unification_real): Apply template type deduction even to procedure parameters that are not dependent on a template parameter. Index: testsuite/ChangeLog 2005-06-17 Geoffrey Keating <geoffk@apple.com> PR c++/17413 * g++.dg/template/local5.C: New. From-SVN: r101141
Geoffrey Keating committed -
tree-vect-transform.c (vect_do_peeling_for_loop_bound): Use initialize_original_copy_tables and free_original_copy_tables. * tree-vect-transform.c (vect_do_peeling_for_loop_bound): Use initialize_original_copy_tables and free_original_copy_tables. (vect_do_peeling_for_alignment): Likewise. From-SVN: r101140
Richard Henderson committed -
2005-06-17 Paolo Carlini <pcarlini@suse.de> Port from libstdcxx_so_7-branch: 2005-01-12 Christopher Jefferson <chris@bubblescope.net> * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t, mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t, mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void return type, just an old HP/SGI workaround. * testsuite/20_util/functional/binders.cc: Move to... * testsuite/20_util/functional/binders/3113.cc: ...here. * testsuite/20_util/functional/binders/1.cc: New. From-SVN: r101139
Paolo Carlini committed -
bb-reorder.c (find_traces_1_round): Use succ block frequency instead of edge frequency for calls to better_edge_p. 2005-06-17 Pat Haugen <pthaugen@us.ibm.com> * bb-reorder.c (find_traces_1_round): Use succ block frequency instead of edge frequency for calls to better_edge_p. From-SVN: r101138
Pat Haugen committed -
2005-06-17 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/22105 * tree-ssa-loop-im.c (for_each_index): Handle COMPLEX_CST. From-SVN: r101137
Andrew Pinski committed -
From-SVN: r101136
Joseph Myers committed -
From-SVN: r101135
Richard Henderson committed -
PR target/19889 * config/ia64/hpux.h (FUNCTION_PROFILER): New (dummy). (PROFILE_HOOK): New. (PROFILE_BEFORE_PROLOGUE): Undef. (NO_PROFILE_COUNTERS): New. * config/ia64/ia64-protos.h (ia64_profile_hook): New. * config/ia64/ia64.c (ia64_compute_frame_size): Add ifdef. (gen_mcount_func_rtx): New. (ia64_profile_hook): New. * config/ia64/ia64.md (ip_value): New. From-SVN: r101134
Steve Ellcey committed -
* config/rs6000/predicates.md (s5bit_cint_operand, u5bit_cint_operand): New. * config/rs6000/altivec.md (altivec_vspltb, altivec_vsplth, altivec_vspltisw_v4sf): Use new 5 bit constant operand predicates. * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Fix signed 5 bit constant check. From-SVN: r101133
Devang Patel committed -
local-alloc.c (update_equiv_regs): Update reg_equiv_init properly when moving an initialization insn. * local-alloc.c (update_equiv_regs): Update reg_equiv_init properly when moving an initialization insn. From-SVN: r101132
Richard Henderson committed -
* gnu/classpath/jdwp/exception/VmDeadException.java: New file. * gnu/classpath/jdwp/exception/NotImplementedException.java: New file. * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New file. * gnu/classpath/jdwp/exception/JdwpException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file. * gnu/classpath/jdwp/exception/InvalidStringException.java: New file * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file. * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New file. * gnu/classpath/jdwp/exception/InvalidCountException.java: New file. * gnu/classpath/jdwp/exception/InvalidClassException.java: New file. From-SVN: r101131
Keith Seitz committed -
From-SVN: r101130
Jonathan Wakely committed -
PR libfortran/19155 * io/read.c (convert_real): strtod can set errno to EINVAL on an empty string, but we shouldn't have an error in that case. From-SVN: r101128
Francois-Xavier Coudert committed -
2005-06-17 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4 (gcc_AC_CHECK_TOOL): Do not overwrite the passed variable. From-SVN: r101127
Paolo Bonzini committed -
* tree-optimize.c (execute_ipa_pass_list): New. (ipa_passes): Use it. From-SVN: r101126
Jan Hubicka committed -
2005-06-17 Jakub Jelinek <jakub@redhat.com> Benjamin Kosnik <bkoz@redhat.com> * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update. * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same. * config/abi/mips-linux-gnu/baseline_symbols.txt: Same. * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same. * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove. * config/abi/i386-freebsd4/baseline_symbols.txt: Same. * config/abi/i386-freebsd5/baseline_symbols.txt: Same. * config/abi/sparc-freebsd5/baseline_symbols.txt: Same. * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove. * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same. 2005-06-17 Jakub Jelinek <jakub@redhat.com> * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update. * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update. * config/abi/s390-linux-gnu/baseline_symbols.txt: Update. * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update. * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update. * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update. * config/abi/i486-linux-gnu/baseline_symbols.txt: Update. * config/abi/i386-linux-gnu/baseline_symbols.txt: Update. * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file. * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file. 2005-06-16 Jakub Jelinek <jakub@redhat.com> * src/compatibility.cc: Include bits/c++config.h first. (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER and PIC are both defined. * include/bits/char_traits.h (char_traits::eq): Rename only if _GLIBCXX_SYMVER_COMPATIBILITY is defined. 2005-06-16 Jakub Jelinek <jakub@redhat.com> * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT. * configure: Regenerate. * config.h.in: Regenerate. * src/compatibility.cc (istream:ignore(streamsize)): Use _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT. * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT instead for symbols with streamsize arguments. 2005-06-16 Jakub Jelinek <jakub@redhat.com> * config/linker-map.gnu: Also export _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il]. 2005-06-15 Benjamin Kosnik <bkoz@redhat.com> * configure.ac (libtool_VERSION): To 6:6:0. * configure: Regenerate. * config/linker-map.gnu: Edit. * src/istream.cc: Move istream::ignore(streamsize) specializations... * src/compatibility.cc: ...here. New. * include/bits/char_traits.h (char_traits::eq): Rename when appropriate. * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT. Bump glibcxx_min_gnu_ld_version to 21590. * configure: Regenerate. * acconfig.h: Remove _GLIBCXX_ASM_SYMVER. * config.h.in: Regenerate. * src/Makefile.am (sources): Add compatibility.cc. * src/Makefile.in: Regenerate. * include/Makefile.am (host_headers_noinst): Add compatibility.h. * include/Makefile.in: Regenerate. * testsuite/testsuite_abi.h (symbol): Add data members. * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5, GLIBCXX_3.4.6. Remove deprecated versions. Do a better job version checking. From-SVN: r101125
Benjamin Kosnik committed -
2005-06-07 David Billinghurst <David.Billinghurst@riotinto.com> PR testsuite/21945 * lib/gcc-dg.exp (gcc-dg-test-1): Catch error if file can't be deleted. From-SVN: r101124
David Billinghurst committed -
PR tree-opt/22022 * tree-complex.c (update_phi_components): Avoid no-op moves. From-SVN: r101121
Richard Henderson committed -
[[Split portion of a mixed commit.]] From-SVN: r101118.2
GCC Administrator committed
-
- 16 Jun, 2005 15 commits
-
-
* gcc.dg/vect/vect-dv-2.c, gcc.dg/vect/vect-ifcvt-2.c, gcc.dg/vect/vect-ifcvt-3.c, gcc.dg/vect/vect-ifcvt-4.c, gcc.dg/vect/vect-ifcvt-5.c, gcc.dg/vect/vect-ifcvt-6.c, gcc.dg/vect/vect-ifcvt-7.c, gcc.dg/vect/vect-ifcvt-9.c: Call check_vect to verify the presence of hardware vector support. From-SVN: r101114
Giovanni Bajo committed -
2005-06-16 James A. Morrison <phython@gcc.gnu.org> PR testsuite/22056 * gcc.dg/pr14796-2.c: Accept -34359738368 and -800000000. From-SVN: r101110
James A. Morrison committed -
* Makefile.in (cc1-checksum.c): Use build/genchecksum$(build_exeext), not build/genchecksum$(exeext). From-SVN: r101109
Joseph Myers committed -
PR libfortran/19216 * io/list_read.c (eat_separator): No need to call next_record, even in non-namelist_mode. * gfortran.dg/pr19216.f: Add correct space between brackets and dg directive. From-SVN: r101105
Francois-Xavier Coudert committed -
From-SVN: r101102
Francois-Xavier Coudert committed -
PR libfortran/16436 * io/transfer.c (read_sf): Correct updating of bytes_left field. (formatted_transfer): Correct updating of bytes_left field and reformatting code (comments and whitespace). * io/unix.c (move_pos_offset): "active" field should not be changed here. Whitespace corrections. * gfortran.dg/g77/f77-edit-t-in.f: Not XFAIL-ed any more. From-SVN: r101100
Francois-Xavier Coudert committed -
* gengtype.c (adjust_field_rtx_def): Don't add a skip to basic_block types. From-SVN: r101099
Geoffrey Keating committed -
* config/t-slibgcc-darwin (SHLIB_SOVERSION): Rename from SHLIB_MINOR. (SHLIB_REVISION): Delete. (SHLIB_VERSTRING): Update to compensate. (SHLIB_SONAME): Just use one '.' in the name. From-SVN: r101098
Geoffrey Keating committed -
PR tree-optimization/22018 * tree-vrp.c (vrp_int_const_binop): Overhaul handling of overflow. From-SVN: r101097
Eric Botcazou committed -
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po, rw.po, sv.po, tr.po, vi.po: Update. From-SVN: r101092
Joseph Myers committed -
From-SVN: r101091
Joseph Myers committed -
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po, rw.po, sv.po, tr.po, zh_CN: Update. From-SVN: r101090
Joseph Myers committed -
PR tree-opt/22035 * builtins.c (fold_builtin_complex_mul): Remove. (fold_builtin_complex_div): Remove. (fold_builtin_1): Don't call them. * fold-const.c (fold_complex_add, fold_complex_mult_parts, fold_complex_mult, fold_complex_div_parts, fold_complex_div): Remove. (fold_binary): Don't call them. Don't expand complex comparisons to elementary comparisons. * tree-complex.c (init_dont_simulate_again): Enhance search for stmts that require decomposition. (complex_visit_stmt): Handle RETURN_EXPR properly. (create_components): Handle no referenced variables properly. * tree.h (fold_complex_mult_parts): Remove. (fold_complex_div_parts): Remove. From-SVN: r101086
Richard Henderson committed -
2005-06-16 Richard Guenther <rguenth@gcc.gnu.org> * doc/extend.texi: Document sseregparm target attribute. Clarify fastcall and regparm documentation. * config/i386/i386.h: Adjust float_in_sse documentation. * config/i386/i386.c: Add new target attribute sseregparm. (ix86_handle_cdecl_attribute, ix86_handle_regparm_attribute): Merge into ... (ix86_handle_cconv_attribute): ... here. Also handle sseregparm attribute. (ix86_comp_type_attributes): Compare sseregparm attributes. (ix86_function_sseregparm): New function, split out from ... (init_cumulative_args): ... here. Use to decide use of SSE registers and error in case of missing support. (ix86_value_regno): Likewise. (function_arg_advance): Do not bail out for DFmode if we need to pass doubles in registers. (function_arg): Likewise. * gcc.target/i386/attributes-error.c: New testcase. * gcc.target/i386/fastcall-sseregparm.c: Likewise. * gcc.target/i386/regparm-stdcall.c: Likewise. * gcc.target/i386/sseregparm-1.c: Likewise. * gcc.target/i386/sseregparm-2.c: Likewise. From-SVN: r101085
Richard Guenther committed -
2005-06-16 Paolo Bonzini <bonzini@gnu.org> Daniel Jacobowitz <dan@codesourcery.com> Alan Modra <amodra.bigpond.net.au> * configure.ac (gcc_version): Set near the beginning. (as, ld, nm): Do not link in-tree tools. Set gcc_cv_* if tools are found in the tree. Use gcc_AC_PROG to find the tools in the system. (objdump): Do not look for it. * Makefile.in (NM_FOR_TARGET): Point to ./nm. (ORIGINAL_AS_FOR_TARGET, ORIGINAL_LD_FOR_TARGET, ORIGINAL_NM_FOR_TARGET): Substitute from autoconf. (as, ld, nm): New rules. (libgcc.mk): Depend on them. * aclocal.m4 (gcc_AC_TOOL_DIRS, gcc_AC_CHECK_TOOL, gcc_AC_BUILD_EXEEXT): New. (gcc_AC_CHECK_PROG_VER): Use gcc_AC_BUILD_EXEEXT. * configure: Regenerate. Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com> From-SVN: r101084
Paolo Bonzini committed
-