1. 08 Feb, 2011 15 commits
    • appendix_porting.xml: Add doc section. · d2b0caaa
      2011-02-08  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/xml/manual/appendix_porting.xml: Add doc section.
      	* doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
      	* doc/xml/manual/documentation_hacking.xml: ...here.
      
      	* doc/xml/manual/debug_mode.xml: Adjust.
      	* doc/xml/manual/prerequisites.xml: Adjust.
      	* doc/Makefile.am (xml_sources): Add dot files,
      	documentation_hacking.xml.
      	* doc/Makefile.in: Regenerate.
      
      	* doc/xml/manual/build_hacking.xml: Use absolute paths for images.
      	* doc/xml/images/confdeps.pdf: Add.
      
      From-SVN: r169932
      Benjamin Kosnik committed
    • go-lang.c (go_langhook_init_options_struct): Set frontend_set_flag_errno_math. · 9b548472
      	* go-lang.c (go_langhook_init_options_struct): Set
      	frontend_set_flag_errno_math.  Don't set x_flag_trapping_math.
      
      From-SVN: r169931
      Ian Lance Taylor committed
    • common.opt (fcx-limited-range): Add SetByCombined flag. · 5e46b0c6
      	* common.opt (fcx-limited-range): Add SetByCombined flag.
      	(ffinite-math-only, fmath-errno, frounding-math): Likewise.
      	(fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise.
      	(fassociative-math, freciprocal-math): Likewise.
      	(funsafe-math-optimizations): Likewise.
      	* opth-gen.awk: Handle SetByCombined.
      	* optc-gen.awk: Likewise.
      	* opts.c (set_fast_math_flags): Don't override flag if set by
      	frontend.
      	(set_unsafe_math_optimizations_flags): Likewise.
      	* doc/options.texi (Option properties): Document SetByCombined.
      
      From-SVN: r169930
      Ian Lance Taylor committed
    • config.gcc (arc-*, [...]): Mark obsolete. · 32243d46
      	* config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*,
      	i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe,
      	m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*,
      	m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*,
      	sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete.
      
      From-SVN: r169929
      Joseph Myers committed
    • Fix PRs 46834, 46994, and 46995: only rewrite reductions not containing other computations. · 479c1fb3
      2011-02-08  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR tree-optimization/46834
      	PR tree-optimization/46994
      	PR tree-optimization/46995
      	* graphite-sese-to-poly.c (used_outside_reduction): New.
      	(detect_commutative_reduction): Call used_outside_reduction.
      	(rewrite_commutative_reductions_out_of_ssa_close_phi): Call
      	translate_scalar_reduction_to_array only when at least one
      	loop-phi/close-phi tuple has been detected.
      
      	* gcc.dg/graphite/id-pr46834.c: New.
      	* gfortran.dg/graphite/id-pr46994.f90: New.
      	* gfortran.dg/graphite/id-pr46995.f90: New.
      
      From-SVN: r169928
      Sebastian Pop committed
    • re PR middle-end/47646 (Revision 169918 caused many testsuite failures) · 1431a37d
      2011-02-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	PR middle-end/47646
      	* gcc.dg/pr39666-2.c (foo2): If the location of the statement
      	using the variable is known the warning is emitted there.
      	* gcc.dg/uninit-pr19430.c (foo): Likewise.
      	* g++.dg/warn/Wuninitialized-5.C (foo): Likewise.
      
      	* c-c++-common/pr20000.c (g): Both warnings occur at the return
      	statement.
      	(vg): Likewise.
      	* gcc.dg/noreturn-1.c (foo5): Likewise.
      	* objc.dg/attributes/method-noreturn-1.m (method1): Likewise.
      	(method2): Likewise.
      
      	* gfortran.dg/pr25923.f90 (baz): The warning will now be issued for
      	the return statement using the uninitialized variable.
      	* gfortran.dg/pr39666-2.f90 (f): Likewise.
      
      From-SVN: r169927
      Andreas Krebbel committed
    • re PR tree-optimization/47639 (ICE: verify_stmts failed: statement marked for… · 3865a06f
      re PR tree-optimization/47639 (ICE: verify_stmts failed: statement marked for throw, but doesn't with -fstack-check=generic -fexceptions -fnon-call-exceptions)
      
      2011-02-08  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/47639
      	* tree-vect-generic.c (expand_vector_operations_1): Update
      	stmts here ...
      	(expand_vector_operations): ... not here.  Cleanup EH info
      	and the CFG if required.
      
      	* g++.dg/opt/pr47639.c: New testcase.
      
      From-SVN: r169926
      Richard Guenther committed
    • re PR lto/47641 (gcc.dg/lto/20101009-1 c_lto_20101009-1_0.o-c_lto_20101009-1_0.o link ICE) · 62902f3f
      2011-02-08  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/47641
      	* tree-ssa.c (execute_update_addresses_taken): For asm outputs
      	require type compatibility.
      
      From-SVN: r169925
      Richard Guenther committed
    • gimple-low.c (lower_function_body): Don't remove the location of the return statement here. · 0efb9d64
      2011-02-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* gimple-low.c (lower_function_body): Don't remove the location of
      	the return statement here.
      	(lower_gimple_return): Do it here instead but only if the return
      	statement is actually used twice.
      
      From-SVN: r169918
      Andreas Krebbel committed
    • re PR tree-optimization/47632 (ICE: verify_flow_info failed: BB 4 can not throw… · 034b8ae4
      re PR tree-optimization/47632 (ICE: verify_flow_info failed: BB 4 can not throw but has an EH edge with -fnon-call-exceptions -ftrapv and operator new[])
      
      2011-02-08  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/47632
      	* tree-ssa-forwprop.c (remove_prop_source_from_use): Remove
      	unused up_to_stmt parameter, return whether cfg-cleanup is
      	necessary, remove EH info properly.
      	(forward_propagate_into_gimple_cond): Adjust caller.
      	(forward_propagate_into_cond): Likewise.
      	(forward_propagate_comparison): Likewise.
      	(tree_ssa_forward_propagate_single_use_vars): Make
      	forward_propagate_comparison case similar to the two others.
      
      	* g++.dg/opt/pr47632.C: New testcase.
      
      From-SVN: r169917
      Richard Guenther committed
    • mn10300.opt (mliw): New command line option. · 298362c8
      	* config/mn10300/mn10300.opt (mliw): New command line option.
      	* config/mn10300/mn10300.md (UNSPEC_LIW): New unspec.
      	(liw_bundling): New automaton.
      	(liw): New attribute.
      	(liw_op): New attribute.
      	(liw_op1, liw_op2, liw_both, liw_either): New reservations.
      	(movsi_internal): Add LIW attributes.
      	(andsi3): Likewise.
      	(iorsi3): Likewise.
      	(xorsi3): Likewise.
      	(addsi3): Separate register and immediate alternatives.
      	Add LIW attributes.
      	(subsi3): Likewise.
      	(cmpsi): Likewise.
      	(aslsi3): Likewise.
      	(lshrsi3): Likewise.
      	(ashrsi3): Likewise.
      	(liw): New pattern.
      	* config/mn10300/mn10300.c (liw_op_names): New
      	(mn10300_print_operand): Handle 'W' operand descriptor.
      	(extract_bundle): New function.
      	(check_liw_constraints): New function.
      	(liw_candidate): New function.
      	(mn10300_bundle_liw): New function.
      	(mn10300_reorg): New function.
      	(TARGET_MACHINE_DEPENDENT_REORG): Define.
      	(TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW.
      	* config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define
      	__LIW__ or __NO_LIW__.
      	* doc/invoke.texi: Describe the -mliw command line option.
      
      From-SVN: r169916
      Nick Clifton committed
    • fdl-1.2.xml: Remove. · 30c4a23d
      2011-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* doc/xml/gnu/fdl-1.2.xml: Remove.
      	* doc/xml/gnu/gpl-2.0.xml: Remove.
      	* doc/Makefile.am: Update.
      	* doc/Makefile.in: Regnerate.
      
      From-SVN: r169915
      Jonathan Wakely committed
    • * Make-lang.in (obj-c++.tags): Don't include *.y. · 24780fe1
      From-SVN: r169914
      Mike Stump committed
    • Daily bump. · 75104eb4
      From-SVN: r169912
      GCC Administrator committed
    • * g++.dg/abi/packed1.C: Expect warning on spu-*-* as well. · 517a8d43
      From-SVN: r169908
      Ulrich Weigand committed
  2. 07 Feb, 2011 23 commits
  3. 06 Feb, 2011 2 commits