1. 22 Sep, 2008 14 commits
  2. 21 Sep, 2008 12 commits
    • re PR rtl-optimization/33642 (unrecognizable insn for -frtl-abstract-sequences) · b2530b05
      	PR rtl-optimization/33642
      	* gcc.c-torture/compile/pr11832.c: XFAIL on sh*-*-*.
      	* gcc.c-torture/compile/pr33009.c: Likewise.
      
      From-SVN: r140534
      Kaz Kojima committed
    • re PR fortran/37583 (ICE "insert_bbt(): Duplicate key" for self-calling ENTRY subprogram) · ecd3b73c
      2008-09-21  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/37583
      	* decl.c (scalarize_intrinsic_call): Both subroutines and
      	functions can give a true for get_proc_mame's last argument so
      	remove the &&gfc_current_ns->proc_name->attr.function.
      	resolve.c (resolve_actual_arglist): Add check for recursion by
      	reference to procedure as actual argument.
      
      2008-09-21  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/37583
      	* gfortran.dg/entry_18.f90: New test.
      
      From-SVN: r140532
      Paul Thomas committed
    • sparc-protos.h (gen_compare_operator): Declare. · 19047e4a
      	* config/sparc/sparc-protos.h (gen_compare_operator): Declare.
      	(sparc_emit_float_lib_cmp): Change return type.
      	* config/sparc/sparc.c (gen_compare_reg): Add comment about TFmode.
      	(gen_compare_operator): New function.
      	(sparc_emit_float_lib_cmp): Return the new operator to be used in
      	the comparison sequence.  Minor tweaks.
      	* config/sparc/sparc.md (seq, sne, sgt, slt, sge, sle): Assert
      	that the final operator and the result of sparc_emit_float_lib_cmp
      	match for software TFmode; use emit_insn in lieu of emit_jump_insn.
      	(beq, bne, bgt, blt, bge, ble, bunordered, bordered, bungt, bunlt,
      	buneq, bunge, bunle, bltgt): Assert that the final operator and the
      	result of sparc_emit_float_lib_cmp match for software TFmode.
      	(movqicc, movhicc, movsicc, movdicc): Merge into...
      	(mov<I:mode>cc): ...this.
      	(movsfcc, movdfcc, movtfcc): Merge into...
      	(mov<F:mode>cc): ...this.
      	(movqi_cc_sp64, movhi_cc_sp64, movsi_cc_sp64, movdi_cc_sp64): Merge
      	into...
      	(mov<I:mode>_cc_v9): ...this.
      	(movdi_cc_sp64_trunc): Delete.
      	(movqi_cc_reg_sp64, movhi_cc_reg_sp64, movsi_cc_reg_sp64,
      	movdi_cc_reg_sp64): Merge into...
      	(mov<I:mode>_cc_reg_sp64): ...this.
      	(movsf_cc_sp64): Rename into...
      	(movsf_cc_v9): ...this.
      	(movdf_cc_sp64): Rename into...
      	(movdf_cc_v9): ...this.
      	(movtf_cc_hq_sp64): Rename into...
      	(movtf_cc_hq_v9): ...this.
      	(movtf_cc_sp64): Rename into...
      	(movtf_cc_v9): ...this.  Adjust for renaming of movdf_cc_sp64.
      
      From-SVN: r140530
      Eric Botcazou committed
    • re PR fortran/35846 (ICE on nested character constructors) · 4b7f8314
      2008-09-21  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/35846
      	* trans.h (gfc_conv_string_length): New argument `expr'.
      	* trans-expr.c (flatten_array_ctors_without_strlen): New method.
      	(gfc_conv_string_length): New argument `expr' that is used in a new
      	special case handling if cl->length is NULL.
      	(gfc_conv_subref_array_arg): Pass expr to gfc_conv_string_length.
      	* trans-array.c (gfc_conv_expr_descriptor): Ditto.
      	(gfc_trans_auto_array_allocation): Pass NULL as new expr.
      	(gfc_trans_g77_array), (gfc_trans_dummy_array_bias): Ditto.
      	(gfc_trans_deferred_array): Ditto.
      	(gfc_trans_array_constructor): Save and restore old values of globals
      	used for bounds checking.
      	* trans-decl.c (gfc_trans_dummy_character): Ditto.
      	(gfc_trans_auto_character_variable): Ditto.
      
      2008-09-21  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/35846
      	* gfortran.dg/nested_array_constructor_1.f90: New test.
      	* gfortran.dg/nested_array_constructor_2.f90: New test.
      	* gfortran.dg/nested_array_constructor_3.f90: New test.
      	* gfortran.dg/nested_array_constructor_4.f90: New test.
      	* gfortran.dg/nested_array_constructor_5.f90: New test.
      	* gfortran.dg/nested_array_constructor_6.f90: New test.
      
      From-SVN: r140529
      Daniel Kraft committed
    • decl.c (match_procedure_in_type): Changed misleading error message for not yet… · 74a9b897
      decl.c (match_procedure_in_type): Changed misleading error message for not yet implemented PROCEDURE(interface)...
      
      2008-09-21  Daniel Kraft  <d@domob.eu>
      
      	* decl.c (match_procedure_in_type): Changed misleading error message
      	for not yet implemented PROCEDURE(interface) syntax.
      
      2008-09-21  Daniel Kraft  <d@domob.eu>
      
      	* gfortran.dg/typebound_proc_4.f03: Changed expected error for not
      	yet implemented PROCEDURE(interface).
      
      From-SVN: r140528
      Daniel Kraft committed
    • gccint.texi: Include generic.texi and gimple.texi. · e6c99067
      2008-09-21  Diego Novillo  <dnovillo@google.com>
      
      	* doc/gccint.texi: Include generic.texi and gimple.texi.
      	Re-order index.
      	* doc/tree-ssa.texi (GENERIC): Move to generic.texi.
      	(GIMPLE): Move to gimple.texi.
      	(Annotations): Remove references to to stmt_ann_t and
      	ssa_name_ann_t.
      	(SSA Operands): Rename from 'Statement Operands'.
      	* doc/generic.texi: New.
      	* doc/gimple.texi: New.
      	* Makefile.in (TEXI_GCCINT_FILES): Add generic.texi and
      	gimple.texi.
      	* Makefile.in (TEXI_GCCINT_FILES):
      	* gimple.c (gimple_copy_call_skip_args): Rename from
      	giple_copy_call_skip_args.  Update all users.
      	* doc/gimple.texi (gimple_copy_call_skip_args): Document.
      
      From-SVN: r140527
      Diego Novillo committed
    • * MAINTAINERS: Add myself in "Write After Approval". · 94538043
      From-SVN: r140526
      Steven Bosscher committed
    • re PR ada/5911 (Support for multilib in Ada) · 7193e639
      2008-09-21  Laurent Guerby  <laurent@guerby.net>
      
              PR ada/5911
      	* gcc-interface/Makefile.in: Add multilib handling for x86_64
      	and sparc.
      	* system-linux-sparcv9.ads: New file.
      	
      2008-09-21  Laurent Guerby  <laurent@guerby.net>
                  Paolo Bonzini  <bonzini@gnu.org>
      	
      	PR ada/5911
      	* Makefile.in (all, install, mostlyclean, clean, distclean): Add
      	multilib handling.
      	* configure.ac: Add multilib handling.
      	* configure: Regenerate.
      
      
      Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
      
      From-SVN: r140525
      Laurent GUERBY committed
    • stl_algo.h (minmax(initializer_list<>): Use make_pair, consistently with the… · aa4652fa
      stl_algo.h (minmax(initializer_list<>): Use make_pair, consistently with the other overload for initializer_list.
      
      2008-09-21  Paolo Carlini  <paolo.carlini@oracle.com>
      
       	* include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
      	consistently with the other overload for initializer_list.
      
      From-SVN: r140524
      Paolo Carlini committed
    • re PR tree-optimization/37539 (Hang for -O3) · 5abf3860
      	PR tree-optimization/37539
      	* tree-vect-transform.c (vect_transform_strided_load): Save vector
      	statement in related statement field only for the first load of the
      	group of loads with the same data reference.
      
      From-SVN: r140522
      Ira Rosen committed
    • mips.h (TUNE_OCTEON): New macro. · ce00be9e
      	* config/mips/mips.h (TUNE_OCTEON): New macro.
      	* config/mips/mips.c (mips_issue_rate): Return 2 for Octeon.
      	(mips_multipass_dfa_lookahead): Return 2 for Octeon.
      	* config/mips/octeon.md: New file.
      	* config/mips/mips.md: Include octeon.md.  Restore
      	semi-alphabetical order of include files.
      
      From-SVN: r140521
      Adam Nemet committed
    • Daily bump. · 4881ceec
      From-SVN: r140519
      GCC Administrator committed
  3. 20 Sep, 2008 7 commits
  4. 19 Sep, 2008 7 commits
    • varasm.c (narrowing_initializer_constant_valid_p): Return NULL_TREE if ENDTYPE is not an integer. · acafbcde
      	* varasm.c (narrowing_initializer_constant_valid_p): Return
      	NULL_TREE if ENDTYPE is not an integer.
      
      From-SVN: r140502
      Ian Lance Taylor committed
    • re PR tree-optimization/30930 (vector can cause to create an extra variable,… · f22b7039
      re PR tree-optimization/30930 (vector can cause to create an extra variable, DECL_GIMPLE_REG_P not recomputed)
      
      2008-09-19  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR tree-opt/30930
              * tree-ssa.c (execute_update_addresses_taken): Also update
              DECL_GIMPLE_REG_P for vector and complex types.
      
      
      2008-09-19  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR tree-opt/30930
              * gcc.dg/tree-ssa/vector-2.c: New test.
              * gcc.dg/tree-ssa/vector-3.c: New test.
      
      From-SVN: r140501
      Andrew Pinski committed
    • Fix typo s/darwin/bsd · 8c3b3600
      From-SVN: r140498
      Andreas Tobler committed
    • proc.c: New file. · e2b34106
      2008-09-19  Jakub Jelinek  <jakub@redhat.com>
      	    Andreas Tobler  <a.tobler@schweiz.org>
      
      	* config/bsd/proc.c: New file.
      	* configure.tgt (*-*-darwin*): Use config_path "darwin posix".
      	* configure.ac: Check for header <sys/sysctl.h>
      	* configure: Regenerate.
      	* config.h.in: Likewise.
      
      Co-Authored-By: Andreas Tobler <a.tobler@schweiz.org>
      
      From-SVN: r140497
      Jakub Jelinek committed
    • re PR middle-end/37567 (tree SSA to normal checking takes abnormally long time) · 60ffe2fe
      	PR middle-end/37567
      	* tree-ssa-ter.c (free_temp_expr_table): Make sure fields are actually
      	empty before freeing them.
      	(find_replaceable_exprs): Move asserts to free_temp_expr_table.
      
      
      Co-Authored-By: Jan Hubicka <jh@suse.cz>
      
      From-SVN: r140494
      Andrew MacLeod committed
    • re PR libstdc++/37470 (parallel/base.h log2 conflicts with math.h) · c38b84d8
      2008-09-19  Johannes Singler  <singler@ira.uka.de>
      
              PR libstdc++/37470
              * include/parallel/base.h: Rename log2 to __log2.
                (__log2) Avoid infinite loop for n <= 0, return 0.
              * include/parallel/losertree.h: Rename log2 to __log2.
              * include/parallel/multiseq_selection.h: Likewise.
              * include/parallel/random_shuffle.h: Likewise.
      
      From-SVN: r140490
      Johannes Singler committed
    • configure.ac: Add HAVE_AS_TLS check for Xtensa. · 6a7a462c
      	* configure.ac: Add HAVE_AS_TLS check for Xtensa.
      	* config/xtensa/predicates.md (tls_symbol_operand): New.
      	* config/xtensa/xtensa.c (TARGET_HAVE_TLS): Define.
      	(TARGET_CANNOT_FORCE_MEM): Define.
      	(xtensa_tls_symbol_p): New.
      	(xtensa_emit_move_sequence): Check for and legitimize TLS addresses.
      	(xtensa_legitimate_address_p): Disallow constant pool TLS references.
      	(xtensa_tls_module_base): New.
      	(xtensa_call_tls_desc): New.
      	(xtensa_legitimize_tls_address): New.
      	(xtensa_legitimize_address): Handle TLS symbols.
      	(xtensa_tls_referenced_p_1): New.
      	(xtensa_tls_referenced_p): New.
      	(xtensa_output_addr_const_extra): Handle UNSPEC_TPOFF and UNSPEC_DTPOFF.
      	(XTENSA_BUILTIN_THREAD_POINTER): New.
      	(XTENSA_BUILTIN_SET_THREAD_POINTER): New.
      	(xtensa_init_builtins): Set NOTHROW and READONLY for umulsidi3 builtin.
      	Add declarations for __builtin_thread_pointer and
      	__builtin_set_thread_pointer.
      	(xtensa_fold_builtin): Recognize new builtins.
      	(xtensa_expand_builtin): Expand new builtins.
      	* config/xtensa/xtensa.h (XCHAL_HAVE_THREADPTR): Define default value.
      	(TARGET_THREADPTR): Define.
      	(HAVE_AS_TLS): Define default value.
      	(LEGITIMATE_CONSTANT_P): Disallow TLS references.
      	* config/xtensa/xtensa.md (UNSPEC_TPOFF, UNSPEC_DTPOFF): New.
      	(UNSPEC_TLS_FUNC, UNSPEC_TLS_ARG, UNSPEC_TLS_CALL, UNSPEC_TP): New.
      	(UNSPECV_SET_TP): New.
      	(sym_TPOFF, sym_DTPOFF): New.
      	(load_tp, set_tp, tls_func, tls_arg, tls_call): New.
      	* config/xtensa/xtensa-protos.h (xtensa_tls_referenced_p): Declare.
      	* configure: Regenerated.
      
      From-SVN: r140482
      Bob Wilson committed