1. 25 Mar, 2011 31 commits
    • dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing va_end. · 0edf1bb2
      
      	* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing
      	va_end.
      	* c-family/c-common.c (def_fn_type): Likewise.
      	* ada/gcc-interface/utils.c (def_fn_type): Likewise.
      	* emit-rtl.c (gen_rtvec): Likewise.
      	* lto/lto-lang.c (def_fn_type): Likewise.
      
      From-SVN: r171466
      Jeff Law committed
    • tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants also generate copies. · fdc2de95
      2011-03-25  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants
      	also generate copies.
      	(fini_copy_prop): Handle constant values properly.
      
      From-SVN: r171465
      Richard Guenther committed
    • dwarf2out.c (mem_loc_descriptor): Compare mode size instead of bitsize with DWARF2_ADDR_SIZE. · 21385db0
      	* dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Compare
      	mode size instead of bitsize with DWARF2_ADDR_SIZE.
      	(hash_loc_operands, compare_loc_operands): Handle
      	DW_OP_GNU_entry_value.
      
      From-SVN: r171464
      Jakub Jelinek committed
    • Core 1135 · 5ade176d
      	Core 1135
      	* method.c (defaulted_late_check): Check for exception spec mismatch.
      	(defaultable_fn_check): Allow exception spec and virtual.
      	* class.c (check_for_override): A virtual dtor is non-trivial.
      
      From-SVN: r171462
      Jason Merrill committed
    • re PR c++/48289 (-pedantic breaks std::move) · 7eda3368
      	PR c++/48289
      	* pt.c (build_non_dependent_expr): Keep dereferences outside the
      	NON_DEPENDENT_EXPR.
      
      From-SVN: r171461
      Jason Merrill committed
    • * c.opt: Add -std=c++03. · c7dc8804
      From-SVN: r171460
      Jason Merrill committed
    • cygming.h (DWARF_FRAME_REGISTERS): Adjust comment. · 6510e8bb
      2011-03-25  Kai Tietz  <ktietz@redhat.com>
      
      	* config/i386/cygming.h (DWARF_FRAME_REGISTERS): Adjust comment.
      	(STACK_BOUNDARY): Check for bit-ness in case of MS_ABI.
      	* config/i386/i386.c (ix86_conditional_register_usage): Adjust
      	comment and use macro TARGET_64BIT_MS_ABI instead.
      	(ix86_keep_aggregate_return_pointer): Optimize for 64-bit case
      	and change default behavior for 32-bit MS_ABI.
      	(ix86_reg_parm_stack_space): Check additionally for bit-ness.
      	(ix86_function_type_abi): Allow check for ms_abi/sysv_abi for
      	32-bit, too.
      	(ix86_cfun_abi): Likewise.
      	(ix86_maybe_switch_abi): Adjust comment.
      	(init_cumulative_args): Check for bit-ness in MS_ABI case.
      	(ix86_gimplify_va_arg): Check just for not TARGET_64BIT_MS_ABI
      	instead of checking for SYSV_ABI.
      	(ix86_nsaved_sseregs): Likewise.
      	(ix86_compute_frame_layout): Set only for 64-bit MS_ABI alignment
      	to 16 bytes.
      	(ix86_expand_call): Use TARGET_64BIT_MS_ABI macro.
      	* config/i386.h (TARGET_32BIT_MS_ABI): New macro.
      	(ACCUMULATE_OUTGOING_ARGS): Check explicit for 64-bit MS_ABI.
      	(OUTGOING_REG_PARM_STACK_SPACE): Likewise.
      	* config/mingw32.h (DEFAULT_ABI): Change default always to MS_ABI.
      
      From-SVN: r171459
      Kai Tietz committed
    • re PR target/48287 (gcc.dg/vect/vect-cselim-1.c FAILs on SPARC) · a5205bd2
      
              PR target/48287
              * gcc.dg/vect/vect-cselim-1.c: Fail for vect_no_align.
      
      From-SVN: r171457
      Ira Rosen committed
    • pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for mips-sgi-irix6.5. · e560509f
      	* gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options
      	for mips-sgi-irix6.5.
      	Replace snprintf prototype by <stdio.h>.
      
      From-SVN: r171456
      Rainer Orth committed
    • tree-flow.h (verify_stmts): Rename to verify_gimple_in_cfg. · 34019e28
      2011-03-25  Richard Guenther  <rguenther@suse.de>
      
      	* tree-flow.h (verify_stmts): Rename to verify_gimple_in_cfg.
      	(verify_types_in_gimple_seq): Rename to verify_gimple_in_seq.
      	(verify_gimple): Remove.
      	* tree-cfg.c (verify_gimple_call): Merge verification
      	from verify_stmts.
      	(verify_gimple_phi): Merge verification from verify_stmts.
      	(verify_gimple_label): New function.
      	(verify_types_in_gimple_seq_2): Rename to verify_gimple_in_seq_2.
      	(verify_types_in_gimple_seq): Rename to verify_gimple_in_seq.
      	(verify_stmt): Merge into verify_gimple_in_cfg and callees.
      	(verify_stmts): Rename to verify_gimple_in_cfg.
      	(verify_gimple_in_cfg): New function.
      	* passes.c (execute_function_todo): Call verify_gimple_in_cfg.
      	* tree-ssa.c (verify_ssa): Likewise.
      	* gimplify.c (gimplify_body): Call verify_gimple_in_seq.
      
      From-SVN: r171453
      Richard Guenther committed
    • configure.ac (native_only): Remove. · 1bcce263
      	* configure.ac (native_only): Remove.
      	(i[[3456789]]86-*-msdosdjgpp*): Don't disable expect dejagnu
      	send-pr uudecode guile gnuserv on host.
      	(x86_64-*-mingw*): Don't disable expect dejagnu autoconf automake
      	send-pr rcs guile perl texinfo libtool on host.
      	(i[[3456789]]86-*-mingw32*): Don't disable expect dejagnu autoconf
      	automake send-pr rcs guile perl texinfo libtool on host.
      	(*-*-cygwin*, *-*-netbsd*): Remove host cases.
      	(*-*-kaos*): Don't disable target-examples target-gperf on target.
      	(alpha*-dec-osf*): Don't disable fileutils on target.
      	(sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't disable target-examples
      	texinfo send-pr expect dejagnu on target.
      	(arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi): Don't disable
      	target-qthreads on target.
      	(hppa*-hp-hpux11*, hppa*-*-*): Don't disable shellutils on target.
      	(ia64*-*-elf*, ia64*-*-*vms*): Don't disable mmalloc on target.
      	(i[[3456789]]86-w64-mingw*, i[[3456789]]86-*-mingw*,
      	x86_64-*-mingw*): Don't disable expect on target.
      	(*-*-cygwin*): Don't disable target-gperf on target.
      	(powerpc*-*-winnt* | powerpc*-*-pe*): Don't disable make expect
      	gnuserv on target.
      	(powerpcle-*-solaris*): Don't disable make expect gnuserv on
      	target.
      	* configure: Regenerate.
      
      From-SVN: r171452
      Joseph Myers committed
    • re PR testsuite/48283 (gcc.dg/graphite/block-[3478].c timeouts) · bff5ad8e
      	PR testsuite/48283
      	* gcc.dg/graphite/block-3.c: Add dg-require-effective-target
      	run_expensive_tests.
      	* gcc.dg/graphite/block-4.c: Likewise.
      	* gcc.dg/graphite/block-7.c: Likewise.
      	* gcc.dg/graphite/block-8.c: Likewise.
      
      From-SVN: r171451
      Rainer Orth committed
    • passes.c (init_optimization_passes): Add FRE pass after early SRA. · 605896f5
      2011-03-25  Richard Guenther  <rguenther@suse.de>
      
      	* passes.c (init_optimization_passes): Add FRE pass after
      	early SRA.
      
      	* g++.dg/tree-ssa/pr41186.C: Scan the appropriate FRE dump.
      	* g++.dg/tree-ssa/pr8781.C: Likewise.
      	* gcc.dg/ipa/ipa-pta-13.c: Likewise.
      	* gcc.dg/ipa/ipa-pta-3.c: Likewise.
      	* gcc.dg/ipa/ipa-pta-4.c: Likewise.
      	* gcc.dg/tree-ssa/20041122-1.c: Likewise.
      	* gcc.dg/tree-ssa/alias-18.c: Likewise.
      	* gcc.dg/tree-ssa/foldstring-1.c: Likewise.
      	* gcc.dg/tree-ssa/forwprop-10.c: Likewise.
      	* gcc.dg/tree-ssa/forwprop-9.c: Likewise.
      	* gcc.dg/tree-ssa/fre-vce-1.c: Likewise.
      	* gcc.dg/tree-ssa/loadpre6.c: Likewise.
      	* gcc.dg/tree-ssa/pr21574.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-dom-cse-1.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-1.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-11.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-12.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-13.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-14.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-15.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-16.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-17.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-18.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-19.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-2.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-21.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-22.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-23.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-24.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-25.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-26.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-27.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-3.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-4.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-5.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-6.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-7.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-8.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-9.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-pre-10.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-pre-26.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-pre-7.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-pre-8.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-pre-9.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-sccvn-1.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-sccvn-2.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-sccvn-3.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-sccvn-4.c: Likewise.
      	* gcc.dg/tree-ssa/struct-aliasing-1.c: Likewise.
      	* gcc.dg/tree-ssa/struct-aliasing-2.c: Likewise.
      	* c-c++-common/pr46562-2.c: Likewise.
      	* gfortran.dg/pr42108.f90: Likewise.
      	* gcc.dg/torture/pta-structcopy-1.c: Scan ealias dump, force
      	foo to be inlined even at -O1.
      	* gcc.dg/tree-ssa/ssa-dce-4.c: Disable FRE.
      	* gcc.dg/ipa/ipa-pta-14.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-fre-1.c: Adjust.
      	* gcc.dg/matrix/matrix.exp: Disable FRE.
      
      From-SVN: r171450
      Richard Guenther committed
    • vfp.md (arm_movdi_vfp): Enable only when not tuning for Cortex-A8. · 7baa7c13
      2011-03-25  Bernd Schmidt  <bernds@codesourcery.com>
      	    Andrew Stubbs  <ams@codesourcery.com>
      
      	gcc/
      	* config/arm/vfp.md (arm_movdi_vfp): Enable only when not tuning
      	for Cortex-A8.
      	(arm_movdi_vfp_cortexa8): New pattern.
      	* config/arm/neon.md (adddi3_neon, subdi3_neon, anddi3_neon,
      	iordi3_neon, xordi3_neon): Add alternatives to discourage Neon
      	instructions when tuning for Cortex-A8.  Set attribute "arch".
      	* config/arm/arm.md: Move include arm-tune.md up a bit.
      	(define_attr "arch"): Add "onlya8" and "nota8" values.
      	(define_attr "arch_enabled"): Handle "onlya8" and "nota8".
      
      
      
      Co-Authored-By: Andrew Stubbs <ams@codesourcery.com>
      
      From-SVN: r171449
      Bernd Schmidt committed
    • fix typo in ChangeLog · 4ff08abf
      From-SVN: r171448
      Nathan Froyd committed
    • re PR target/4828 (can't install gcc for h8300-hms target) · 45dbce1b
      	PR bootstrap/4828
      	Revert:
      	2011-03-24  Nathan Froyd  <froydnj@codesourcery.com>
      
      	* function.c (instantiate_virtual_regs): Use FOR_EACH_BB and
      	FOR_BB_INSNS_SAFE to iterate through insns.  Re-indent.
      	(pass_instantiate_virtual_regs): Require PROP_cfglayout.
      	* passes.c (init_optimization_passes): Move
      	pass_instantiate_virtual_regs after pass_into_cfg_layout_mode.
      
      From-SVN: r171447
      Nathan Froyd committed
    • configure.ac (target_tools): Remove target-groff. · 8d4c5ac6
      	* configure.ac (target_tools): Remove target-groff.
      	(native_only): Remove target-groff.
      	(hppa*64*-*-*): Don't disable byacc.
      	(i[[3456789]]86-*-mingw32*): Remove commented-out noconfigdirs
      	setting.
      	(*-*-kaos*): Don't skip target-librx and target-groff.
      	(*-*-netware*): Don't skip target-libmudflap.
      	(*-*-tpf*): Don't skip target-libmudflap.
      	(sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't condition configured
      	directories on the host.
      	(ia64*-*-*vms*): Don't skip tix.
      	(sh-*-* | sh64-*-*): Don't condition skipped directories on the
      	host.
      	* configure: Regenerate.
      
      From-SVN: r171446
      Joseph Myers committed
    • ChangeLog gcc/ · ac9a30ae
      2011-03-25  Kai Tietz  <ktietz@redhat.com>
      
      	* c-typeck.c (comptypes_internal): Replace target
      	hook call of comp_type_attributes by version in tree.c file.
      	* gimple.c (gimple_types_compatible_p_1): Likewise.
      	* tree-ssa.c (useless_type_conversion_p): Likewise.
      	* tree.c (build_type_attribute_qual_variant): Likewise.
      	(attribute_value_equal): New static helper function.
      	(comp_type_attributes): New function.
      	(merge_attributes): Use attribute_value_equal for comparison.
      	(attribute_list_contained): Likewise.
      	* tree.h (comp_type_attributes): New prototype.
      
      ChangeLog cp/
      2011-03-25  Kai Tietz  <ktietz@redhat.com>
      
              * decl.c (decls_match): Replace target hook
              call of comp_type_attributes by version in tree.c file.
              * search.c (check_final_overrider): Likewise.
              * typeck.c (structural_comptypes): Likewise.
      
      From-SVN: r171445
      Kai Tietz committed
    • tree-cfg.c (verify_gimple_assign_unary): Drop special casing of complex types at -O0. · afdac116
      2011-03-25  Richard Guenther  <rguenther@suse.de>
      
      	* tree-cfg.c (verify_gimple_assign_unary): Drop special casing
      	of complex types at -O0.
      	(verify_gimple_assign_binary): Likewise.
      	(verify_gimple_assign_ternary): Likewise.
      
      From-SVN: r171444
      Richard Guenther committed
    • random.h (negative_binomial_distribution<>::… · ff2e697a
      random.h (negative_binomial_distribution<>:: negative_binomial_distribution(_IntType, double), [...]): Tweak construction of _M_gd.
      
      2011-03-25  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/random.h (negative_binomial_distribution<>::
      	negative_binomial_distribution(_IntType, double),
      	negative_binomial_distribution<>::
      	negative_binomial_distribution(const param_type&)): Tweak
      	construction of _M_gd.
      	* include/bits/random.tcc (negative_binomial_distribution<>::
      	operator()): Adjust.
      
      From-SVN: r171443
      Paolo Carlini committed
    • Remove deprecated DW_FORM_sig8 define. · ec6165f8
          * dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define.
      
          * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8.
          (value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8.
      
      From-SVN: r171442
      Mark Wielaard committed
    • re PR debug/48041 (dwarf2out emits unnecessary null byte in empty .debug_abbrev section) · 2a5ac39a
      PR debug/48041
      * dwarf2out.c (output_abbrev_section): Only write table when
      abbrev_die_table_in_use > 1.
      
      From-SVN: r171441
      Mark Wielaard committed
    • Remove closed function. Fix tuple receive in select. · fe052134
      From-SVN: r171440
      Ian Lance Taylor committed
    • alpha: Remove all big-endian code. · 0b2a7367
      From-SVN: r171438
      Richard Henderson committed
    • alpha: Unify movdi patterns with enabled attribute. · 315b2bef
      From-SVN: r171437
      Richard Henderson committed
    • alpha: Unify SF, DF, QI, HI, SI mode moves with enabled attribute. · 67102517
      For floating-point, this involves in addition conditionalizing the
      definition of the "f" register constraint.
      
      From-SVN: r171436
      Richard Henderson committed
    • alpha: Cleanup sign extension patterns. · 6aba5cb4
      Don't bother implementing sub-word sign-extensions for !BWX,
      since we need to use DImode intermediates anyway.
      
      From-SVN: r171435
      Richard Henderson committed
    • Daily bump. · 84ee3e26
      From-SVN: r171434
      GCC Administrator committed
    • alpha: Revert change to input_operand for 32-bit vms. · 6abe71eb
      From-SVN: r171428
      Richard Henderson committed
  2. 24 Mar, 2011 9 commits