1. 12 Feb, 2007 15 commits
    • dwarf2out.c (round_up_to_align): New static function. · d996473d
      	* dwarf2out.c (round_up_to_align): New static function.
      	(field_byte_offset): Use it to round the offset.
      
      From-SVN: r121859
      Eric Botcazou committed
    • * sv.po: Update. · ffcce7bc
      From-SVN: r121857
      Joseph Myers committed
    • alpha.md (bswapsi2, bswapdi2): New. · fffef1dc
              * 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… · 7ab0aca2
      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
    • i386.md (*bswapdi2_rex): Renamed from bswapdi2. · d8d25bae
      
      	* 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
    • invoke.texi (Overall Options): Document --help=. · c662432e
      * 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
    • constraints.md: New file. · dfcbeaa5
              * 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
    • VMTimeZone.java: Rewrite to handle both the old 'TZif\0' format and the new one. · cc297c1e
      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
    • re PR tree-optimization/29145 (unsafe use of restrict qualifier) · 9b3ffe5f
              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
    • re PR middle-end/7651 (Define -Wextra strictly in terms of other warning flags) · 27f33b15
      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
    • Fix nits. · ed41063a
      From-SVN: r121842
      Eric Botcazou committed
    • sse4a-extract.c: Add "LL" to 64bit constants. · 86591226
      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. · 2376c58f
      
      	* 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. · 69fce32f
      
      	* 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
    • Daily bump. · cf24243e
      From-SVN: r121835
      GCC Administrator committed
  2. 11 Feb, 2007 16 commits
  3. 10 Feb, 2007 9 commits
    • re PR target/30634 (FAIL: gfortran.fortran-torture/execute/intrinsic_set_exponent.f90) · 51823d47
      	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
    • Makefile.am: Use $(M4) instead of m4. · 2ccef0dd
      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
    • Makefile.in (libgcc-support, [...]): Add emutls.c. · 8893239d
      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
    • re PR libgcj/30742 (ResourceBundle regression) · ba9652fc
      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. · bf654c94
      	* configure: Rebuilt.
      	* configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
      
      From-SVN: r121797
      Mohan Embar committed
    • Makefile.in: Rebuilt. · cef04d59
      	* 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
    • Makefile.am: Remove $(srcdir) from assorted targets in maintainer mode. · 7e10187c
      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
    • sync config directory with src · 003de0e1
      From-SVN: r121794
      Paolo Bonzini committed