- 12 Feb, 2007 17 commits
-
-
* tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL. * cgraphunit.c (cgraph_expand_function): If DECL_IGNORED_P is set on the function, temporarily point the debug interface to the null one. From-SVN: r121861
Eric Botcazou committed -
From-SVN: r121860
Richard Henderson committed -
* dwarf2out.c (round_up_to_align): New static function. (field_byte_offset): Use it to round the offset. From-SVN: r121859
Eric Botcazou committed -
From-SVN: r121857
Joseph Myers committed -
* config/alpha/alpha.md (bswapsi2, bswapdi2): New. (inswl_const): Export. From-SVN: r121853
Richard Henderson committed -
calls.c (emit_library_call_value_1): If PROMOTE_MODE modifed the result mode of the libcall, convert back to outmode. * calls.c (emit_library_call_value_1): If PROMOTE_MODE modifed the result mode of the libcall, convert back to outmode. From-SVN: r121852
Richard Henderson committed -
* config/i386/i386.md (*bswapdi2_rex): Renamed from bswapdi2. (bswapdi2): New define_expand to implement 32-bit implementation. * gcc.target/i386/builtin-bswap-3.c: New test case. From-SVN: r121851
Roger Sayle committed -
* doc/invoke.texi (Overall Options): Document --help=. * gcc.c (target_help_flag): Rename to print_subprocess_flag. (cc1_options): Pass --help= on to cc1. (display_help): Add description of --help=. (process_command): Add code to handle --help=. Allow translated --help and --target-help switches to be passed on to compiler sub-process. (main): Remove unused if statement. * opts.c (columns): Remove. (LEFT_COLUMN): Define. (wrap_help): Add columns argument. (print_filtered_help): Change parameters to be an include bitmask, an exclude bitmask, an any bitmask and the column width. Move the code to display the params list here. Add code to display the status of options rather than their descriptions if the quiet flag is not active. (print_specific_help): Change parameters to be an include bitmask, an exclude bitmask and an any bitmask. Move code to look up the column width here. Decide upon the title for an options listing. (common_handle_options): Add code to handle --help=. Adapt code for --help and --target-help to use the revised form of the print_specific_help function. (print_help): Delete. (print_param_help): Delete. (print_switch): Delete. * opts.h (cl_lang_count): Add prototype. (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_MIN_OPTION_CLASS, CL_MAX_OPTION_CLASS): New defines. * optc-gen.awk: Add construction of cl_lang_count. * c.opt: Add Warning attribute to warning options and Optimization attribute to optimization options. * common.opt: Likewise. Add --help=. Add -fhelp and -ftarget-help as aliases for the transformed --help and --target-help options. * opt-functions.awk: Add code to handle Warning and Optimization attributes. From-SVN: r121849
Nick Clifton committed -
* config/alpha/constraints.md: New file. * config/alpha/alpha.c: Include tm-constrs.h. (alpha_const_ok_for_letter_p, alpha_const_double_ok_for_letter_p, alpha_extra_constraint): Remove. (alpha_emit_conditional_branch): Use satisfies_constraint_*. * config/alpha/alpha-protos.h: Update. * config/alpha/alpha.h (REG_CLASS_FROM_LETTER): Remove. (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Remove. (EXTRA_CONSTRAINT): Remove. * config/alpha/alpha.md: Include constraints.md. (adddi splitter): Use satisfies_constraint_*. * config/alpha/predicates.md (add_operand): Likewise. (sext_add_operand, addition_operation): Likewise. From-SVN: r121847
Richard Henderson committed -
2007-02-09 Jakub Jelinek <jakub@redhat.com> * java/util/VMTimeZone.java: Rewrite to handle both the old 'TZif\0' format and the new one. From-SVN: r121845
Jakub Jelinek committed -
PR tree-optimization/29145 * tree-data-ref.c (base_addr_differ_p): Make us more conservative in our handling of restrict qualified pointers. From-SVN: r121844
Dorit Nuzman committed -
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 7 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
-