1. 27 Jul, 2010 2 commits
  2. 26 Jul, 2010 17 commits
    • re PR target/44132 (emutls is broken under a range of circumstances.) · 8b84c596
      PR target/44132
      Emulated TLS rewrite.
      
      From-SVN: r162549
      Richard Henderson committed
    • 14220.cc: XFAIL on Solaris 9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC. · b57c6b13
      	* testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
      	9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.
      	* testsuite/22_locale/num_put/put/wchar_t/14220.cc: XFAIL on
      	Solaris 9/x86 and 32-bit Solaris 10/x86.
      
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
      	Only XFAIL on Solaris 8 and 9.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
      	Likewise.
      
      	* testsuite/ext/enc_filebuf/char/13598.cc: XFAIL before Solaris 11.
      
      From-SVN: r162545
      Rainer Orth committed
    • lto-streamer.h (struct lto_file_decl_data): Mark resolutions with GTY((skip)). · b7956a5b
      	* lto-streamer.h (struct lto_file_decl_data): Mark resolutions with
      	GTY((skip)).
      
      From-SVN: r162544
      Jan Hubicka committed
    • target.def (output_source_filename): New hook. · b5f5d41d
      	* target.def (output_source_filename): New hook.
      	* doc/tm.texi.in (TARGET_ASM_OUTPUT_SOURCE_FILENAME): Document.
      	* doc/tm.texi: Regenerate.
      	* toplev.c (output_file_directive) Remove function.
      	* toplev.h (output_file_directive) Remove.
      	* output.h (default_asm_output_source_filename,
      	output_file_directive): Declare.
      	* varasm.h (default_asm_output_source_filename,
      	output_file_directive): New functions.
      
      	* config/mips/mips.h (ASM_OUTPUT_SOURCE_FILENAME): Remove macro.
      	* config/mips/mips-protos.h (mips_output_filename): Remove.
      	* config/mips/mips.c (mips_output_filename): Make Static.
      	(TARGET_ASM_OUTPUT_SOURCE_FILENAME): Define.
      
      From-SVN: r162542
      Anatoly Sokolov committed
    • pr44900.C: Use dg-require-effective-target sse_runtime. · 114e33e1
      	* g++.dg/torture/pr44900.C: Use dg-require-effective-target
      	sse_runtime.
      	* gcc.dg/attr-weak-hidden-1a.c: Use dg-require-weak,
      	dg-require-visibility.
      
      From-SVN: r162541
      Rainer Orth committed
    • libgomp.texi: Add function keyword to a couple of Fortran interfaces... · acb5c916
      	* libgomp.texi: Add function keyword to a couple of Fortran
      	interfaces, use integer instead of int for Fortran.
      
      From-SVN: r162540
      Jakub Jelinek committed
    • re PR tree-optimization/43784 (-Os -fkeep-inline-functions causes FAIL:… · 7f8ac3d7
      re PR tree-optimization/43784 (-Os -fkeep-inline-functions causes FAIL: gcc.c-torture/execute/builtins/pr22237.c execution)
      
      2010-07-26  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/43784
      	* tree-nrv.c (dest_safe_for_nrv_p): It's not safe to NRV
      	if the destination is used by the call.
      
      	* gcc.c-torture/execute/pr43784.c: New testcase.
      	* g++.dg/torture/pr43784.C: Likewise.
      
      From-SVN: r162539
      Richard Guenther committed
    • libgomp.texi: Fix spelling and pasto problems throughout. · 6a2ba183
              * libgomp.texi: Fix spelling and pasto problems throughout.
              Adjust prototypes to match code.
      
      From-SVN: r162538
      Aldy Hernandez committed
    • re PR tree-optimization/45073 (gfortran.dg/assumed_charlen_function_3.f90 ICEs… · edc74207
      re PR tree-optimization/45073 (gfortran.dg/assumed_charlen_function_3.f90 ICEs with -fprofile-generate)
      
      2010-07-26  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/45073
      	* gimple-fold.c (gimplify_and_update_call_from_tree): Conditionalize
      	SSA updating on being in SSA form.
      
      From-SVN: r162537
      Richard Guenther committed
    • re PR tree-optimization/45056 (ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1023) · bd422c4a
      2010-07-26  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/45056
      	* gimple-fold.c (fold_stmt_1): Also fold references in
      	debug stmts.
      
      	* g++.dg/pr45056.C: New testcase.
      
      From-SVN: r162536
      Richard Guenther committed
    • re PR tree-optimization/45071 (ICE: tree check: expected ssa_name, have… · e093ffe3
      re PR tree-optimization/45071 (ICE: tree check: expected ssa_name, have integer_cst in inhibit_phi_insertion, at tree-ssa-pre.c:3278 with -ftree-pre -ftree-vectorize)
      
      2010-07-26  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/45071
      	* tree-ssa-sccvn.c  (vn_reference_maybe_forwprop_address): Always
      	adjust op->opcode.
      
      	* gcc.dg/pr45071.c: New testcase.
      
      From-SVN: r162534
      Richard Guenther committed
    • re PR fortran/45066 (ICE in namelist read in snapshot of 7/24/2010) · 71ff73f3
      2010-07-26  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/45066
              * trans-io.c (build_dt): Use NULL_TREE rather than NULL
              for call to transfer_namelist_element.
              * trans-decl.c (gfc_get_symbol_decl): Also set sym->backend_decl
              for -fwhole-file.
      
      2010-07-26  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/45066
              * gfortran.dg/namelist_62.f90: New.
      
      From-SVN: r162532
      Tobias Burnus committed
    • Add file forgotten in commit Rev. 162500 · aa622bf1
      2010-07-24  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/40011
              * gfortran.dg/whole_file_21.f90: New.
      
      From-SVN: r162531
      Tobias Burnus committed
    • configure.ac: Support all v850 targets. · 223a9d64
              * configure.ac: Support all v850 targets.
              * configure: Regenerate.
      
              * config/v850/lib1funcs.asm (save_r2_r31, return_r2_r31,
              save_r20_r31, return_r20_r31, save_r21_r31, return_r21_r31,
              save_r22_r31, return_r22_r31, save_r23_r31, return_r23_r31,
              save_r24_r31, return_r24_r31, save_r25_r31, return_r25_r31,
              save_r26_r31, return_r26_r31, save_r27_r31, return_r27_r31,
              save_r28_r31, return_r28_r31, save_r29_r31, return_r29_r31,
              save_r31, return_r31, save_interrupt, return_interrupt,
              save_all_interrupt, return_all_interrupt, L_save_r2_r31,
              L_return_interrupt, callt_return_interrupt, L_restore_all_interrupt,
              L_save_##START##_r31c, L_callt_save_r31c: Updated as per the
              new ABI requirements.
              save_r6_r9, L_callt_save_r6_r9: Remove.
              * config/v850/predicates.md (even_reg_operand, disp23_operand,
              const_float_1_operand const_float_0_operand): New Predicates.
              (pattern_is_ok_for_prepare, pattern_is_ok_for_prologue,
              pattern_is_ok_for_epilogue): Update as per the ABI requirements.
              * config/v850/t-v850: Update multilibs for new target variants.
              (save_varargs, callt_save_varargs, callt_save_r6_r9): Remove.
              * config/v850/t-v850e: Likewise.
              * config/v850/v850.c (v850_issue_rate): New.
              (v850_strict_argument_naming): New.
              (function_arg): Modify to generate a different ABI.
              (print_operand): Update case 'z' to support float modes.
              (output_move_single): Modify to generate appropriate and better
              assembly.
              (v850_float_z_comparison_operator, v850_select_cc_mode,
              v850_float_nz_comparison_operator,  v850_gen_float_compare,
              v850_gen_compare): New functions to support comparison of
              float values.
              (ep_memory_offset): Add support for V850E2 targets.
              (INTERRUPT_FIXED_NUM, INTERRUPT_ALL_SAVE_NUM): Update.
              (INTERRUPT_REGPARM_NUM): Remove.
              (compute_register_save_size): Add extra case to save/restore
              long call.
              (use_prolog_function): New function to support prologue.
              (expand_prologue): Add support for V850E2 targets and modified
              as per the current ABI requirements.
              (expand_epilogue): Likewise.
              (construct_restore_jr): Modify based on TARGET_LONG_CALLS.
              (construct_save_jarl): Likewise.
              (construct_dispose_instruction): Update as per the current ABI
              requirements.
              (construct_prepare_instruction): Likewise.
              * config/v850/v850.h(TARGET_CPU_DEFAULT): Add target predefines.
              (TARGET_CPU_v850e2, TARGET_CPU_v850e2v3): Define
              (CPP_SPEC): Updated to support v850e2 targets.
              (STRICT_ALIGNMENT): Modified.
              (FIRST_PSEUDO_REGISTER): Updated to add even registers.
              (FIXED_REGISTERS): Likewise.
              (CALL_USED_REGISTERS): Likewise.
              (CONDITIONAL_REGISTER_USAGE): Updated.
              (HARD_REGNO_MODE_OK): Updated.
              (reg_class): Updated to add even registers.
              (REG_CLASS_NAMES): Likewise.
              (REG_CLASS_CONTENTS): Likewise.
              (REGNO_REG_CLASS): Updated for CC registers.
              (REG_CLASS_FROM_LETTER): Added support for even registers.
              (REGNO_OK_FOR_BASE_P): Updated for CC registers.
              (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM, LINK_POINTER_REGNUM,
              ARG_POINTER_REGNUM): Updated.
              (FUNCTION_ARG_ADVANCE): Define.
              (REG_PARM_STACK_SPACE): Update as per the current ABI requirements.
              (OUTGOING_REG_PARM_STACK_SPACE): Remove.
              (EXTRA_CONSTRAINT): Add new constraint 'W' for 23-bit displacement.
              (GO_IF_LEGITIMATE_ADDRESS): Updated.
              (SELECT_CC_MODE): Define.
              (REGISTER_NAMES): Updated to add psw and fcc registers.
              (ADDITIONAL_REGISTER_NAMES): Updated.
              (ASM_OUTPUT_ADDR_DIFF_ELT): Updated to support new targets.
              (JUMP_TABLES_IN_TEXT_SECTION): Updated.
              * config/v850/v850.md (define_constants): Define new constants.
              (type): Update store,bit1,macc,div,fpu and single attributes.
              (cpu): New attribute.
              (cc): Add set_z attribute.
              (unsign23byte_load, sign23byte_load, unsign23hword_load,
              sign23hword_load, 23word_load, 23byte_store, 23hword_store,
              23word_store): New instructions for 23-bit displacement load and
              store.
              (movqi_internal, movhi_internal): Update the attributes.
              (movsi, movsi_internal_v850e): Updated to support v850e2 targets.
              (movsi_internal_v850e, movsi_internal, movsf_internal): Update
              the attributes.
              (v850_tst1): Modified using CC_REGNUM.
              (tstsi): Remove.
              (cmpsi): Modified as define_expand from define_insn.
              (cmpsi_insn, cmpsf, cmpdf): New instructions.
              (addsi3, subsi3, negsi2, divmodsi4, udivmodsi4, divmodhi4,
              udivmodhi4, v850_clr1_1, v850_clr1_2, v850_clr1_3, andsi3,
              v850_set1_1, v850_set1_3, iorsi3, v850_not1_1, v850_not1_3, xorsi3,
              one_cmplsi2): Clobber the CC_REGNUM register.
              (v850_clr1_1, v850_clr1_2, v850_clr1_3, andsi3, v850_set1_1,
              v850_set1_2, v850_set1_3, iorsi3, v850_not1_1, v850_not1_2,
              v850_not1_3, xorsi3, one_cmplsi2): Update the attributes
              accordingly.
              (setf_insn, set_z_insn, set_nz_insn): New instructions for
              v850e2v3 target.
              (movsicc_normal_cc, movsicc_reversed_cc): New instructions.
              (movsicc, movsicc_normal, movsicc_reversed): Add support for V850E2
              targets.
              (sasf_1, sasf_2): Remove.
              (sasf): New instruction.
              (rotlhi3, rotlhi3_8, rotlsi3, rotlsi3_16): Update to support V850E2
              targets. CC_REGNUM register is clobbered and attributes are
              updated.
              (branch_z_normal, branch_z_invert, branch_nz_normal,
              branch_nz_invert): New branch related instructions.
              (jump): Updated the attributes.
              (switch): Update to support new targets. CC_REGNUM register is
              clobbered and attributes are updated.
              (call_internal_short, call_internal_long, call_value_internal_short,
              call_value_internal_long): Updated the attributes.
              (zero_extendhisi2, zero_extendqisi2): CC_REGNUM register is
              clobbered and attributes are updated.
              (extendhisi_insn, extendhisi2, extendqisi_insn, extendqisi2):
              Update to support new targets. CC_REGNUM register is clobbered.
              (ashlsi3_v850e2, lshrsi3_v850e2, ashrsi3_v850e2): New shift
              instructions.
              (lshrsi3, ashrsi3): CC_REGNUM register is clobbered and attributes
              are updated.
              (ffssi2, addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, divsf3,
              divdf3, minsf3, mindf3, maxsf3, maxdf3, abssf2, absdf2, negsf2,
              negdf2, sqrtsf2, sqrtdf2, truncsfsi2, truncdfsi2, floatsisf2,
              floatsidf2, extendsfdf2, extenddfsf2, recipsf2, recipdf2,
              rsqrtsf2, rsqrtdf2, maddsf4, msubsf4, nmaddsf4, nmsubsf4,
              cmpsf_le_insn, cmpsf_lt_insn, cmpsf_ge_insn, cmpsf_gt_insn,
              cmpsf_eq_insn, cmpsf_ne_insn, cmpdf_le_insn, cmpdf_lt_insn,
              cmpdf_ge_insn, cmpdf_gt_insn, cmpdf_eq_insn, cmpdf_ne_insn, trfsr,
              movsfcc, movdfcc, movsfcc_z_insn, movsfcc_nz_insn, movdfcc_z_insn,
              movdfcc_nz_insn, movedfcc_z_zero, movedfcc_nz_zero): New floating
              point instructions defined for V850e2v3 target.
              (callt_save_interrupt, callt_return_interrupt, return_interrupt):
              Add support for V850E2 targets and CC_REGNUM register is clobbered.
              (callt_save_all_interrupt, callt_restore_all_interrupt): Add
              support for new targets.
              * config/v850/v850-modes.def: New file.
              * config/v850/v850.opt(mstrict-align): Remove.
              (mno-strict-align, mjump-tables-in-data-section, mv850e2,
              mv850e2v3): New command line options for V850.
              * config.gcc: Update the newly added files.
              * doc/invoke.texi: Update the newly added command line options for
              V850 target.
      
      From-SVN: r162530
      Naveen.H.S committed
    • re PR tree-optimization/45052 (volatile ignored) · 4e89a3fa
      2010-07-26  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/45052
      	* ipa-pure-const.c (check_stmt): Check volatileness.
      
      From-SVN: r162528
      Richard Guenther committed
    • pr45017.c: Move ... · d4e075f2
      2010-07-26  Richard Guenther  <rguenther@suse.de>
      
      	* gcc.c-torture/execute/pr45017.c: Move ...
      	* gcc.dg/torture/pr45017.c: ... here.  Restrict to i?86 and x86_64.
      
      From-SVN: r162527
      Richard Guenther committed
    • Daily bump. · 4468d94d
      From-SVN: r162525
      GCC Administrator committed
  3. 25 Jul, 2010 11 commits
  4. 24 Jul, 2010 8 commits
  5. 23 Jul, 2010 2 commits
    • Fix violations of self-assignment check in GCC source. · 3d07b7cd
      From-SVN: r162492
      Le-Chun Wu committed
    • re PR fortran/45045 (Named COMMON with different size: No warning with -fwhole-file) · df161b69
      gcc/fortran/
      2010-07-24  Tobias Burnus  <burnus@net-b.de>
      
              * options.c (gfc_init_options): Enable -fwhole-file by default.
              * interface.c (compare_parameter): Assume a Hollerith constant is
              compatible with all other argument types.
      
      libgomp/
      2010-07-24  Tobias Burnus  <burnus@net-b.de>
      
              * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: Add -w to
              silence -fwhole-file warning.
      
      gcc/testsuite/
      2010-07-24  Tobias Burnus  <burnus@net-b.de>
      
              * gfortran.dg/func_decl_4.f90: Split test into two ...
              * gfortran.dg/func_decl_5.f90: ... parts.
              * gfortran.dg/common_resize_1.f: xfail two warnings (cf. PR 45045).
              * gfortran.dg/bounds_temporaries_1.f90: Add new dg-warning.
              * gfortran.dg/global_references_1.f90: Add new dg-warning.
              * gfortran.dg/generic_actual_arg.f90: Add new dg-warning.
              * gfortran.dg/entry_17.f90: Remove no-longer needed dg-warning.
              * gfortran.dg/used_before_typed_4.f90: Add new dg-warning.
              * gfortran.dg/bounds_check_strlen_1.f90: Add new dg-warning.
              * gfortran.dg/intrinsic_std_1.f90: Split by remove tree dump ...
              * gfortran.dg/intrinsic_std_6.f90: ... and create a dump test.
              * gfortran.dg/sizeof.f90: Make test valid.
              * gfortran.dg/pr20865.f90: Add new dg-error.
              * gfortran.dg/integer_exponentiation_2.f90: Add new dg-warnings.
              * gfortran.dg/g77/19990218-0.f: Ditto.
              * gfortran.dg/g77/19990218-1.f: Ditto.
              * gfortran.dg/g77/970625-2.f: Ditto.
              * gfortran.dg/pr37243.f: Fix function declaration.
              * gfortran.dg/use_only_1.f90: Fix implicit typing.
              * gfortran.dg/loc_1.f90: Fix pointer datatype.
      
      From-SVN: r162491
      Tobias Burnus committed