- 12 Feb, 2007 6 commits
-
-
2007-02-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR middle-end/7651 * doc/invoke.texi (Wunused-value): Update description. (Wextra): Delete item. * opts.c (set_Wextra): Don't use the value of Wextra to set the value of Wunused-value. * c-typeck.c (c_process_expr_stmt): Don't check extra_warnings. (c_finish_stmt_expr): Don't check extra_warnings. (emit_side_effect_warnings): The caller is responsible to check warn_unused_value. cp/ * cp-gimplify.c (gimplify_expr_stmt): Don't check extra_warnings. Check warn_unused_value just once. From-SVN: r121843
Manuel López-Ibáñez committed -
From-SVN: r121842
Eric Botcazou committed -
2007-02-11 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/sse4a-extract.c: Add "LL" to 64bit constants. * gcc.target/i386/sse4a-insert.c: Likewise. From-SVN: r121840
H.J. Lu committed -
* simplify-rtx.c (simplify_relational_operation_1): Correct typo. Co-Authored-By: Matt Thomas <matt@3am-software.com> From-SVN: r121839
Roger Sayle committed -
* simplify-rtx.c (simplify_relational_operation_1): Optimize comparisons of POPCOUNT against zero. (simplify_const_relational_operation): Likewise. * gcc.target/ia64/builtin-popcount-1.c: New test case. * gcc.target/ia64/builtin-popcount-2.c: Likewise. From-SVN: r121838
Roger Sayle committed -
From-SVN: r121835
GCC Administrator committed
-
- 11 Feb, 2007 16 commits
-
-
2007-02-11 Daniel Franke <franke.daniel@gmail.com> * intrinsic.texi (HOSTNM): Fix typographical error in syntax. (SLEEP): Added section and documentation. From-SVN: r121831
Daniel Franke committed -
2007-02-11 Tobias Schlueter <tobi@gcc.gnu.org> PR fortran/30478 fortran/ * decl.c (add_init_expr_to_sym): Remove ENUM specific code. (variable_decl): Likewise. Rewrap comment. (match_attr_spec): Remove ENUM specific code. (gfc_match_enum): Fix typo in error message. (enumerator_decl): New function. (gfc_match_enumerator_def): Use enumerator_decl instead of variable_decl. Adapt code accordingly. testsuite/ * gfortran.dg/enum_4.f90: Update error message checks. From-SVN: r121830
Tobias Schlüter committed -
2007-02-11 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * doc/invoke.texi (Wextra): Delete outdated paragraph. From-SVN: r121829
Manuel López-Ibáñez committed -
2007-02-11 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * dwarf2out.c (root_type): Delete unused function. From-SVN: r121828
Manuel López-Ibáñez committed -
2007-02-11 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * genattrtab.c (contained_in_p): Delete unused function. (write_expr_attr_cache): Likewise. From-SVN: r121827
Manuel López-Ibáñez committed -
* ipa-inline.c (cgraph_edge_badness): Add "else" missing in the previous patch. From-SVN: r121825
Jan Hubicka committed -
2007-02-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/30554 * module.c (find_symtree_for_symbol): New function to return a symtree that is not a "unique symtree" given a symbol. (read_module): Do not automatically set pointer_info to referenced because this inhibits the generation of a unique symtree. Recycle the existing symtree if possible by calling find_symtree_for_symbol. PR fortran/30319 * decl.c (add_init_expr_to_sym): Make new charlen for an array constructor initializer. 2007-02-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/30554 * gfortran.dg/used_dummy_types_6.f90: Add the "privatized" versions of the modules. PR fortran/30617 * gfortran.dg/intrinsic_actual_2.f90: Make this legal fortran by getting rid of recursive I/O and providing functions with results. PR fortran/30319 * gfortran.dg/char_array_constructor_2.f90 From-SVN: r121824
Paul Thomas committed -
re PR c++/26988 (template constructor in template class derived from virtual base can not be specialized) PR c++/26988 * pt.c (determine_specialization): Use skip_artificial_parms_for. (fn_type_unificiation): Likewise. (get_bindings): Likewise. PR c++/26988 * g++.dg/template/spec34.C: New test From-SVN: r121822
Mark Mitchell committed -
* fwprop.c (try_fwprop_subst): Use set_unique_reg_note to add the REG_EQ* note. * see.c (see_merge_one_use_extension): Likewise. * local-alloc.c (update_equiv_regs): Likewise. Also don't turn REG_EQUAL notes into REG_EQUIV notes if the target register may have more than one set. * function.c (assign_parm_setup_reg): Use set_unique_reg_note. * gcse.c (try_replace_reg): Likewise. * alias.c (init_alias_analysis): Use find_reg_equal_equiv_note. * calls.c (fixup_tail_calls): Likewise. Abort if there is more than one REG_EQUIV note. * reload1.c (gen_reload): Use set_unique_reg_note. From-SVN: r121821
Steven Bosscher committed -
* config/i386/i386.c (TARGET_VECTORIZE_BUILTIN_CONVERSION): Define. (ix86_builtin_conversion): New function. testsuite/ChangeLog: * gcc.dg/vect/vect-intfloat-conversion-1.c: Loop gets vectorized on i?86 and x86_64. * gcc.dg/vect/vect-intfloat-conversion-2.c: Ditto. * gcc.dg/vect/vect-floatint-conversion-1.c: New. * gcc.dg/vect/vect-93.c: Another loop gets vectorized on i?86 and x86_64. * gcc.dg/vect/vect-113.c: Ditto. From-SVN: r121820
Uros Bizjak committed -
PR target/29487 * tree.h (DECL_REPLACEABLE_P): New macro. * except.c (set_nothrow_function_flags): Likewise. PR target/29487 * decl.c (finish_function): Use DECL_REPLACEABLE. * tree.c (cp_cannot_inline_tree_fn): Likewise. PR c++/29487 * g++.dg/eh/weak1-C: New test. * g++.dg/eh/weak1-a.cc: Likewise. * g++.dg/eh/comdat1.C: Likewise. From-SVN: r121819
Mark Mitchell committed -
* doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): New target hook. * targhooks.c (default_builtin_vectorized_conversion): New. * targhooks.h (default_builtin_vectorized_function): New declaration. * target.h (struct vectorize): Add builtin_conversion field. * tree-vectorizer.h (type_conversion_vec_info_type): New enum stmt_vec_info_type value. (vectorizable_conversion): New declaration. * tree-vect-analyze.c (vect_analyze_operations): Add vectorizable_conversion call. * target-def.h (TARGET_VECTORIZE_BUILTIN_CONVERSION): New. * tree-vect-transform.c (vectorizable_conversion): New function. (vect_transform_stmt): Add case for type_conversion_vec_info_type. * tree-vect-generic.c (expand_vector_operations_1): Consider correct mode. * config/rs6000/rs6000.c (rs6000_builtin_conversion): New. (TARGET_VECTORIZE_BUILTIN_CONVERSION): Defined. (rs6000_expand_builtin): Add handling a case of ALTIVEC_BUILTIN_VCFUX or ALTIVEC_BUILTIN_VCFSX. Co-Authored-By: Dorit Nuzman <dorit@il.ibm.com> Co-Authored-By: Ira Rosen <irar@il.ibm.com> From-SVN: r121818
Tehila Meyzels committed -
* configure.ac: Update TOOLS_TARGET_PAIRS configuration to match gcc/ada/Makefile.in. * configure: Regenerated. From-SVN: r121817
Andreas Schwab committed -
* MAINTAINERS (Language Front End Maintainers): Update my mail address. From-SVN: r121816
Francois-Xavier Coudert committed -
* ChangeLog: Whitespace fixes. * gcc/ChangeLog: Ditto. * gcc/testsuite/ChangeLog: Ditto. From-SVN: r121815
Uros Bizjak committed -
From-SVN: r121810
GCC Administrator committed
-
- 10 Feb, 2007 16 commits
-
-
From-SVN: r121805
Gabriel Dos Reis committed -
PR target/30634 * pa.md (movdf): For 64-bit target, fail if operand 1 is a non-zero CONST_DOUBLE and operand 0 is a hard register. (movdi): For 64-bit target, remove code to force CONST_DOUBLE to memory. Fail if operand 1 is a non-zero CONST_INT and operand 0 is a hard floating-point register. From-SVN: r121802
John David Anglin committed -
2007-02-10 Thomas Koenig <Thomas.Koenig@online.de> * Makefile.am: Use $(M4) instead of m4. * Makefile.in: Regenerate. From-SVN: r121801
Thomas Koenig committed -
gcc/ChangeLog: * Makefile.in (libgcc-support, libgcc.mvars): Add emutls.c. * builtin-types.def (BT_WORD): Make unsigned. (BT_FN_VOID_PTR_WORD_WORD_PTR): New. * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New. (BUILT_IN_EMUTLS_REGISTER_COMMON): New. * c-decl.c (grokdeclarator): Don't error if !have_tls. * c-parser.c (c_parser_omp_threadprivate): Likewise. * dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for emulated tls. * expr.c (emutls_var_address): New. (expand_expr_real_1): Expand emulated tls. (expand_expr_addr_expr_1): Likewise. * libgcc-std.ver: Add __emutls_get_address, __emutls_register_common. * output.h (emutls_finish): Declare. * toplev.c (compile_file): Call it. * tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the address before wrapping in CONST. * varasm.c (emutls_htab, emutls_object_type): New. (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New. (get_emutls_object_name, get_emutls_object_type): New. (get_emutls_init_templ_addr, emutls_decl): New. (emutls_common_1, emutls_finish): New. (assemble_variable): When emulating tls, swap decls; generate constructor for the emutls objects. (do_assemble_alias): When emulating tls, swap decl and target name. (default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT for emulated tls. * varpool.c (decide_is_variable_needed): Look at force_output. Recurse for emulated tls. (cgraph_varpool_remove_unreferenced_decls): Remove checks redundant with decide_is_variable_needed. * emutls.c: New file. * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit tls_object for real tls. gcc/cp/ChangeLog: * decl.c (grokvardecl): Don't error if !have_tls. (grokdeclarator): Likewise. * parser.c (cp_parser_omp_threadprivate): Likewise. gcc/fortran/ChangeLog: * f95-lang.c (gfc_init_builtin_functions): Add __emutls_get_address and __emutls_register_common. * openmp.c (gfc_match_omp_threadprivate): Don't error if !have_tls. * trans-common.c (build_common_decl): Don't check have_tls. * trans-decl.c (gfc_finish_var_decl): Likewise. * types.def (BT_WORD, BT_FN_PTR_PTR): New. (BT_FN_VOID_PTR_WORD_WORD_PTR): New. gcc/testsuite/ChangeLog: * lib/target-supports.exp (check_effective_target_tls): Redefine to mean non-emulated tls. * gcc.dg/tls/alias-1.c: Remove tls requirement. * gcc.dg/tls/asm-1.c, gcc.dg/tls/debug-1.c, gcc.dg/tls/diag-1.c, gcc.dg/tls/diag-2.c, gcc.dg/tls/diag-3.c, gcc.dg/tls/diag-4.c, gcc.dg/tls/diag-5.c, gcc.dg/tls/init-1.c, gcc.dg/tls/nonpic-1.c, gcc.dg/tls/opt-10.c, gcc.dg/tls/opt-5.c, gcc.dg/tls/opt-6.c, gcc.dg/tls/opt-8.c, gcc.dg/tls/opt-9.c, gcc.dg/tls/pic-1.c, gcc.dg/tls/struct-1.c, gcc.dg/tls/trivial.c: Likewise. From-SVN: r121800
Richard Henderson committed -
2007-02-10 Andrew Haley <aph@redhat.com> PR java/30742 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New. (getCallingClass): Call GET_CALLING_CLASS. (getCallingClassLoader): Likewise. From-SVN: r121798
Andrew Haley committed -
* configure: Rebuilt. * configure.ac (GCJH): Reverted second part of patch of 2006-12-20. From-SVN: r121797
Mohan Embar committed -
* Makefile.in: Rebuilt. * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to the host's ecj1 executable. From-SVN: r121796
Mohan Embar committed -
2007-02-10 Thomas Koenig <Thomas.Koenig@online.de> * Makefile.am: Remove $(srcdir) from assorted targets in maintainer mode. * Makefile.in: Regenerate. From-SVN: r121795
Thomas Koenig committed -
From-SVN: r121794
Paolo Bonzini committed -
* gcc.dg/tree-ssa/loop-25.c: Verify the result in the profile pass. From-SVN: r121793
Zdenek Dvorak committed -
PR rtl-optimization/29599 * reload1.c (eliminate_regs_in_insn): Take the destination mode into account when computing the offset. From-SVN: r121792
Kaz Kojima committed -
* gfortran.dg/secnds.f: Replace time tolerance with a before-and-after bracket. * gfortran.dg/secnds-1.f: Likewise. From-SVN: r121791
Brooks Moses committed -
* gcc/config/i386/i386.h (TARGET_KEEPS_VECTOR_ALIGNED_STACK): New. * gcc/config/i386/darwin.h: (TARGET_KEEPS_VECTOR_ALIGNED_STACK): New. * gcc/config/i386/i386.md (fixuns_trunc<mode>si2, fixuns_truncsfhi2, fixuns_truncdfhi2): New. (fix_truncsfdi_sse): Call ix86_expand_convert_sign_didf_sse. (floatunsdidf2): Call ix86_expand_convert_uns_didf_sse. (floatunssisf2): Add call to ix86_expand_convert_uns_sisf_sse. (floatunssidf2): Allow nonimmediate source. * gcc/config/i386/sse.md (movdi_to_sse): New. (vec_concatv2di): Drop '*'. * gcc/config/i386/i386-protos.h (ix86_expand_convert_uns_si_sse, ix86_expand_convert_uns_didf_sse, ix86_expand_convert_uns_sidf_sse, ix86_expand_convert_uns_sisf_sse, ix86_expand_convert_sign_didf_sse): New. * gcc/config/i386/i386.c (ix86_expand_convert_uns_si_sse, ix86_expand_convert_uns_didf_sse, ix86_expand_convert_uns_sidf_sse, ix86_expand_convert_uns_sisf_sse, ix86_expand_convert_sign_didf_sse, ix86_build_const_vector, ix86_expand_vector_init_one_nonzero): New. (ix86_build_signbit_mask): Fix decl of v, refactor to call ix86_build_const_vector. (x86_emit_floatuns): Rewrite. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r121790
Stuart Hastings committed -
2007-02-10 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * genautomata.c (longest_path_length): Delete unused function. (struct state): Delete unused longest_path_length. (UNDEFINED_LONGEST_PATH_LENGTH): Delete unused macro. (get_free_state): Delete unused. From-SVN: r121789
Manuel López-Ibáñez committed -
test_summary (configflags): Adjust for changes in the config.status format due to update to autoconf 2.59. * test_summary (configflags): Adjust for changes in the config.status format due to update to autoconf 2.59. From-SVN: r121787
Hans-Peter Nilsson committed -
From-SVN: r121785
GCC Administrator committed
-
- 09 Feb, 2007 2 commits
-
-
* params.def (PARAM_INLINE_UNIT_GROWTH): Set to 30. * doc/invoke.texi (inline-unit-growth): Update default value. From-SVN: r121781
Jan Hubicka committed -
* Makefile.in (passes.o, ipa-inline.o): Add dependencies. * cgraphbuild.c (build_cgraph_edges): Compute frequencies. (rebuild_cgraph_edges): Likewise. * cgraph.c (cgraph_set_call_stmt): Add new argument frequency. (dump_cgraph_node): Dump frequencies. (cgraph_clone_edge): Add frequency scales. (cgraph_clone_node): Add freuqnecy. * cgraph.h (cgraph_edge): Add freuqnecy argument. (CGRAPH_FREQ_BASE, CGRAPH_FREQ_MAX): New constants. (cgraph_create_edge, cgraph_clone_edge, cgraph_clone_node): Update. * tree-pass.h (TODO_rebuild_frequencies): New constant. * cgraphunit.c (verify_cgraph_node): Verify frequencies. (cgraph_copy_node_for_versioning): Update call of cgraph_clone_edge. (save_inline_function_body): Likewise. * ipa-inline.c: inluce rtl.h (cgraph_clone_inlined_nods): Update call of cgraph_clone_node. (cgraph_edge_badness): Use frequencies. (cgraph_decide_recursive_inlining): Update clonning. (cgraph_decide_inlining_of_small_function): Dump frequency. * predict.c (estimate_bb_frequencies): Export. * predict.h (estimate_bb_frequencies): Declare. * tree-inline.c (copy_bb): Watch overflows. (expand_call_inline): Update call of cgraph_create_edge. (optimize_inline_calls): Use TODO flags to update frequnecies. * passes.h: Include predict.h (init_optimization_passes): Move profile ahead. (execute_function_todo): Handle TODO_rebuild_frequencies. From-SVN: r121780
Jan Hubicka committed
-