Skip to content
Snippets Groups Projects
  1. Mar 14, 2013
    • Jakub Jelinek's avatar
      re PR tree-optimization/53265 (Warn when undefined behavior implies smaller iteration count) · fbd28bc3
      Jakub Jelinek authored
      	PR tree-optimization/53265
      	* common.opt (Waggressive-loop-optimizations): New option.
      	* tree-ssa-loop-niter.c: Include tree-pass.h.
      	(do_warn_aggressive_loop_optimizations): New function.
      	(record_estimate): Call it.  Don't add !is_exit bounds to loop->bounds
      	if number_of_latch_executions returned constant.
      	(estimate_numbers_of_iterations_loop): Call number_of_latch_executions
      	early.  If number_of_latch_executions returned constant, set
      	nb_iterations_upper_bound back to it.
      	* cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations
      	field.
      	* Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H).
      	* doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document.
      
      	* gcc.dg/pr53265.c: New test.
      	* gcc.dg/torture/pr49518.c: Add -Wno-aggressive-loop-optimizations
      	to dg-options.
      	* g++.dg/opt/longbranch2.C (EBCOTLut): Double sizes of a2 and a3
      	arrays.
      	* gcc.dg/tree-ssa/cunroll-10.c (main): Rename to foo.  Add argument
      	n, use it as high bound instead of 4.
      
      	* unwind-dw2.c (execute_cfa_program): Avoid
      	-Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
      	on targets with DWARF_FRAME_REGISTERS < 32.
      
      	* testsuite/libmudflap.c/fail37-frag.c: Add optimization barrier.
      
      From-SVN: r196650
      fbd28bc3
    • Jakub Jelinek's avatar
      t-aarch64-linux (MULTARCH_DIRNAME): Remove. · df2dfaea
      Jakub Jelinek authored
      	* config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove.
      	(MULTILIB_OSDIRNAMES): Set.
      	* genmultilib: If defaultosdirname doesn't start with :: , set
      	defaultosdirname2 instead, clear it and emit two . multilib_raw
      	entries instead of just one.
      
      From-SVN: r196649
      df2dfaea
    • Benjamin Kosnik's avatar
      *: Regenerate. · 10ace8a0
      Benjamin Kosnik authored
      2013-03-13  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/html/*: Regenerate.
      
      From-SVN: r196647
      10ace8a0
    • Kaz Kojima's avatar
      linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. · ee0d2b68
      Kaz Kojima authored
      	* config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE.
      	(SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default.
      	* config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE.
      	(SUBTARGET_OVERRIDE_OPTIONS): New.
      
      From-SVN: r196646
      ee0d2b68
    • GCC Administrator's avatar
      Daily bump. · 2d9aba16
      GCC Administrator authored
      From-SVN: r196645
      2d9aba16
  2. Mar 13, 2013
  3. Mar 12, 2013
  4. Mar 11, 2013
  5. Mar 10, 2013
    • Joseph Myers's avatar
      * de.po: Update. · 4fe57586
      Joseph Myers authored
      From-SVN: r196581
      4fe57586
    • Paul Thomas's avatar
      re PR fortran/56575 (An invalid OO code causes ICE) · 8ec4321f
      Paul Thomas authored
      2013-03-10  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/56575
      	* expr.c (gfc_default_initializer): Check that a class declared
      	type has any components.
      	* resolve.c (resolve_fl_derived0): On failing the test for C437
      	set the type to BT_UNKNOWN to prevent repeat error messages.
      2013-03-10  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/56575
      	* gfortran.dg/class_56.f90: New test.
      
      From-SVN: r196580
      8ec4321f
    • GCC Administrator's avatar
      Daily bump. · d16d44d3
      GCC Administrator authored
      From-SVN: r196579
      d16d44d3
  6. Mar 09, 2013
    • Steven Bosscher's avatar
      dse.c (delete_dead_store_insn): Respect TDF_DETAILS. · 456610d3
      Steven Bosscher authored
      	* dse.c (delete_dead_store_insn): Respect TDF_DETAILS.
      	(canon_address, record_store, replace_read, check_mem_read_rtx,
      	scan_insn, dse_step1, dse_step2_init, dse_step2_spill,
      	dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6,
      	rest_of_handle_dse): Likewise.
      
      From-SVN: r196576
      456610d3
    • Joseph Myers's avatar
      * de.po: Update. · a42f62a0
      Joseph Myers authored
      From-SVN: r196575
      a42f62a0
    • Paolo Carlini's avatar
      55463.cc: Avoid -Wunused warnings. · 03a42414
      Paolo Carlini authored
      2013-03-09  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid
      	-Wunused warnings.
      
      From-SVN: r196572
      03a42414
    • Richard Sandiford's avatar
      re PR middle-end/56524 (Compiler ICE when compiling with -mips16) · 4b1baac8
      Richard Sandiford authored
      gcc/
      	PR middle-end/56524
      	* tree.h (tree_optimization_option): Rename target_optabs to optabs.
      	Add base_optabs.
      	(TREE_OPTIMIZATION_OPTABS): Update after previous field change.
      	(TREE_OPTIMIZATION_BASE_OPTABS): New macro.
      	(save_optabs_if_changed): Replace with...
      	(init_tree_optimization_optabs): ...this.
      	* optabs.c (save_optabs_if_changed): Rename to...
      	(init_tree_optimization_optabs): ...this.  Take the optimization node
      	as argument.  Do nothing if the base optabs are already correct.
      	Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need
      	to recompute optabs.
      	* function.h (function): Remove optabs field.
      	* function.c (invoke_set_current_function_hook): Call
      	init_tree_optimization_optabs.  Use the result to initialize
      	this_fn_optabs.
      
      gcc/c-family/
      	PR middle-end/56524
      	* c-common.c (handle_optimize_attribute): Don't call
      	save_optabs_if_changed.
      
      gcc/testsuite/
      	PR middle-end/56524
      	* gcc.target/mips/pr56524.c: New test.
      
      From-SVN: r196570
      4b1baac8
Loading