1. 22 Oct, 2012 6 commits
  2. 21 Oct, 2012 13 commits
  3. 20 Oct, 2012 9 commits
  4. 19 Oct, 2012 12 commits
    • rs6000-cpus.def (POWERPC_MASKS): Don't assume OPTION_MASK_STRICT_ALIGN is defined. · ad1a0853
      [gcc]
      2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
      	    Dominique Dhumieres  <dominiq@lps.ens.fr>
      
      	* config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Don't assume
      	OPTION_MASK_STRICT_ALIGN is defined.
      	(MASK_STRICT_ALIGN): If OPTION_MASK_STRICT_ALIGN is not defined,
      	define this to 0 for the 3 ports that use it.
      
      	* config/rs6000/rs6000.c (OPTION_MASK_STRICT_ALIGN): Don't do
      	check for ports not having -mstrict-align here, move test to
      	rs6000-cpus.def.
      	(MASK_STRICT_ALIGN): Likewise.
      	(rs6000_debug_reg_global): Print out correct target flag words if
      	-mdebug=reg.
      
      [libobjc]
      2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* encoding.c (TARGET_VSX): Provide definitions based on the
      	current compilation options, and not based off the target options
      	structure.
      	(TARGET_ALTIVEC): Likewise.
      	(TARGET_64BIT): Likewise.
      
      
      Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
      
      From-SVN: r192623
      Michael Meissner committed
    • re PR fortran/54224 (Warn for unused internal procedures) · 704fc850
      2012-10-19  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/54224
      	* trans-expr.c (conv_function_val): Set TREE_USED.
      
      2012-10-19  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/54224
      	* gfortran.dg/warn_unused_function.f90: New.
      
      From-SVN: r192620
      Janus Weil committed
    • re PR middle-end/54945 (Too strong non-aliasing analysis?) · af89bd04
      PR54945
      
      From-SVN: r192617
      Marek Polacek committed
    • * doc/xml/manual/status_cxx2011.xml: Update. · db2415a9
      From-SVN: r192616
      Jonathan Wakely committed
    • target-supports.exp (check_effective_target_arm_prefer_ldrd_strd): New procedure. · cf5607f8
      2012-10-19  Greta Yorsh  <Greta.Yorsh@arm.com>
      
      gcc/testsuite/
      
              * gcc.target/arm/target-supports.exp (check_effective_target_arm_prefer_ldrd_strd): 
              New procedure.
      
      gcc/
      
      	* doc/sourcebuild.texi (Effective-Target Keywords): Document
      	new effective target keyword arm_prefer_ldrd_strd.
      
      From-SVN: r192615
      Greta Yorsh committed
    • scoped_allocator (__outermost_alloc_traits): Define. · 644b2e4c
      	* include/std/scoped_allocator (__outermost_alloc_traits): Define.
      	(scoped_allocator_adaptor::destroy): Use it.
      	(scoped_allocator_adaptor::construct): Likewise. Overload for
      	piecewise construction of std::pair objects.
      	* testsuite/20_util/scoped_allocator/2.cc: New.
      	* doc/xml/manual/status_cxx2011.xml: Update.
      
      From-SVN: r192613
      Jonathan Wakely committed
    • re PR tree-optimization/54981 (Different code generated with / without `-g') · e665269a
      2012-10-19  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/54981
      	* tree-loop-distribution.c (ssa_name_has_uses_outside_loop_p):
      	Do not consider debug stmts as uses.
      
      	* gcc.dg/pr54981.c: New testcase.
      
      From-SVN: r192612
      Richard Guenther committed
    • re PR tree-optimization/54976 (FAIL: gcc.dg/torture/pr47975.c (internal compiler error)) · dfc2e2ac
      2012-10-19  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/54976
      	* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size):
      	Robustify against odd inner_mode inputs.
      
      From-SVN: r192611
      Richard Biener committed
    • re PR target/54892 (, ICE in extract_insn, at recog.c:2123) · 57fc62cb
      	gcc/ChangeLog
      	PR target/54892
      	* config/arm/arm.c (arm_expand_compare_and_swap): Use SImode to make
      	sure the mode is correct when falling through from above cases.
      
      	gcc/testsuite/ChangeLog
      	PR target/54892
      	* gcc.target/arm/pr54892.c: New.
      
      From-SVN: r192609
      Zhenqiang Chen committed
    • cunroll-1.c: New testcase. · c8379865
      
      	* gcc.dg/tree-ssa/cunroll-1.c: New testcase.
      	* gcc.dg/tree-ssa/cunroll-2.c: New testcase.
      	* gcc.dg/tree-ssa/cunroll-3.c: New testcase.
      	* gcc.dg/tree-ssa/cunroll-4.c: New testcase.
      	* gcc.dg/tree-ssa/cunroll-5.c: New testcase.
      
      From-SVN: r192608
      Jan Hubicka committed
    • common.opt (flag_ira_hoist_pressure): New. · b11f0116
      	gcc/ChangeLog
      	* common.opt (flag_ira_hoist_pressure): New.
      	* doc/invoke.texi (-fira-hoist-pressure): Describe.
      	* ira-costs.c (ira_set_pseudo_classes): New parameter.
      	* ira.h: Update copyright dates.
      	(ira_set_pseudo_classes): Update prototype.
      	* haifa-sched.c (sched_init): Update call.
      	* ira.c (ira): Update call.
      	* regmove.c: Update copyright dates.
      	(regmove_optimize): Update call.
      	* loop-invariant.c: Update copyright dates.
      	(move_loop_invariants): Update call.
      	* gcse.c: (struct bb_data): New structure.
      	(BB_DATA): New macro.
      	(curr_bb, curr_reg_pressure): New static variables.
      	(should_hoist_expr_to_dom): Rename from hoist_expr_reaches_here_p.
      	Change parameter expr_index to expr.
      	New parameters pressure_class, nregs and hoisted_bbs.
      	Use reg pressure to determine the distance expr can be hoisted.
      	(hoist_code): Use reg pressure to direct the hoist process.
      	(get_regno_pressure_class, get_pressure_class_and_nregs)
      	(change_pressure, calculate_bb_reg_pressure): New.
      	(one_code_hoisting_pass): Calculate register pressure. Allocate
      	and free data.
      
      	gcc/testsuite/ChangeLog
      	* testsuite/gcc.dg/hoist-register-pressure.c: New test.
      
      From-SVN: r192604
      Bin Cheng committed
    • gcse.c: Update copyright dates. · 8cba9a05
      	* gcse.c: Update copyright dates.
      	(hoist_expr_reaches_here_p): Change parameter type from char *
      	to sbitmap.
      
      From-SVN: r192603
      Bin Cheng committed