1. 29 May, 2009 5 commits
  2. 28 May, 2009 18 commits
    • thumb2.md (thumb2_zero_extendsidi2): Add a split component. · f5939ef3
      	* config/arm/thumb2.md (thumb2_zero_extendsidi2): Add a split
      	component.
      	(thumb2_zero_extendqidi2): Likewise.
      
      From-SVN: r147962
      Richard Earnshaw committed
    • sh.c (sh_expand_t_scc): Use gen_xorsi3_movrt instead of gen_movrt. · c185de40
      	* config/sh/sh.c (sh_expand_t_scc): Use gen_xorsi3_movrt
      	instead of gen_movrt.
      	* config/sh/sh.md (movrt): Remove.
      
      From-SVN: r147961
      Kaz Kojima committed
    • 2009-05-28 Steve Ellcey <sje@cup.hp.com> · bf3c6caf
      	* doc/invoke.texi (IA-64 Options)
      	Add -msdata, -mfused-madd, -mno-inline-float-divide, 
      	-mno-inline-int-divide, -mno-inline-sqrt, -msched-spec-ldc,
      	-msched-spec-control-ldc, -msched-prefer-non-data-spec-insns,
      	-msched-prefer-non-control-spec-insns,
      	-msched-stop-bits-after-every-cycle,
      	-msched-count-spec-in-critical-path,
      	-msel-sched-dont-check-control-spec, -msched-fp-mem-deps-zero-cost
      	-msched-max-memory-insns-hard-limit, -msched-max-memory-insns
      	Remove -mt, -pthread, -msched-ldc, -mno-sched-control-ldc,
      	and -msched-spec-verbose.
      
      From-SVN: r147960
      Steve Ellcey committed
    • Makefile.in, [...]: New files. · 41850419
      2009-05-28  Tom Tromey  <tromey@redhat.com>
      	    Phil Muldoon  <pmuldoon@redhat.com>
      	    Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* python/Makefile.in, , python/libstdcxx/__init__.py,
      	python/libstdcxx/v6/__init__.py, python/libstdcxx/v6/printers.py,
      	python/hook.in, python/Makefile.am: New files.
      	* configure, Makefile.in: Rebuild.
      	* acinclude.m4 (glibcxx_SUBDIRS): Add python.
      	* Makefile.am (SUBDIRS): Add python.
      
      Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
      Co-Authored-By: Phil Muldoon <pmuldoon@redhat.com>
      
      From-SVN: r147958
      Tom Tromey committed
    • lib1funcs.asm (__clear_cache): Define if L_clear_cache. · 8a66e987
      	* config/arm/lib1funcs.asm (__clear_cache): Define if
      	L_clear_cache.
      	* config/arm/linux-eabi.h (CLEAR_INSN_CACHE): Define to give an
      	error if used.
      	* config/arm/t-linux-eabi (LIB1ASMFUNCS): Add _clear_cache.
      
      From-SVN: r147956
      Joseph Myers committed
    • tree-ssa-alias.c (ao_ref_init): New function. · b45d2719
      2009-05-28  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-alias.c (ao_ref_init): New function.
      	(ao_ref_base): Likewise.
      	(ao_ref_base_alias_set): Likewise.
      	(ao_ref_alias_set): Likewise.
      	(refs_may_alias_p_1): Change signature.
      	(refs_may_alias_p): Adjust.
      	(refs_anti_dependent_p): Likewise.
      	(refs_output_dependent_p): Likewise.
      	(call_may_clobber_ref_p_1): Change signature.
      	(call_may_clobber_ref_p): Adjust.
      	(stmt_may_clobber_ref_p_1): New function split out from ...
      	(stmt_may_clobber_ref_p): ... here.
      	(maybe_skip_until): Adjust signature.
      	(get_continuation_for_phi): Likewise.
      	(walk_non_aliased_vuses): Likewise.
      	* tree-ssa-alias.h (struct ao_ref_s): New structure type.
      	(ao_ref_init): Declare.
      	(ao_ref_base): Likewise.
      	(ao_ref_alias_set): Likewise.
      	(stmt_may_clobber_ref_p_1): Likewise.
      	(walk_non_aliased_vuses): Adjust.
      	* tree-ssa-sccvn.c (ao_ref_init_from_vn_reference): New function.
      	(get_ref_from_reference_ops): remove.
      	(vn_reference_lookup_2): Adjust signature.
      	(vn_reference_lookup_3): Do not re-build trees.  Handle unions.
      	(vn_reference_lookup_pieces): Adjust signature, do not re-build
      	trees.
      	(vn_reference_lookup): Adjust.
      	(vn_reference_insert): Likewise.
      	(vn_reference_insert_pieces): Adjust signature.
      	(visit_reference_op_call): Adjust.
      	* tree-ssa-pre.c (get_expr_type): Simplify.
      	(phi_translate_1): Adjust.
      	(compute_avail): Likewise.
      	(translate_vuse_through_block): Do not re-build trees.
      	(value_dies_in_block_x): Likewise.
      	* tree-ssa-sccvn.h (struct vn_reference_s): Add type and alias-set
      	fields.
      	(vn_reference_lookup_pieces): Adjust declaration.
      	(vn_reference_insert_pieces): Likewise.
      
      	* gcc.dg/tree-ssa/ssa-fre-26.c: New testcase.
      	* gcc.c-torture/execute/20090527-1.c: Likewise.
      
      From-SVN: r147953
      Richard Guenther committed
    • tree-ssa-copy.c (replace_exp_1): Move op for warning-free use with checking disabled. · 554223b6
      2009-05-28  Benjamin Kosnik  <bkoz@redhat.com>
      
              * tree-ssa-copy.c (replace_exp_1): Move op for warning-free use
              with checking disabled.
      
      From-SVN: r147952
      Benjamin Kosnik committed
    • Fix for PR c++/PR39754 · cd41d410
      gcc/cp/ChangeLog:
          PR c++/39754
          * cp-tree.h (canonical_type_variant): Remove this function declaration.
          (strip_typedefs): New function declaration.
          * tree.c (strip_typedefs): New function definition.
          (canonical_type_variant): Remove function definition.
          * cvt.c (convert_from_reference): No need to use
          canonical_type_variant.
          * typeck.c (cp_build_indirect_ref): Likewise.
          * error.c (dump_template_bindings): Use strip_typedefs instead of
          canonical_type_variant.
          * pt.c (convert_template_argument, unify): Likewise.
          * mangle.c (canonicalize_for_substitution): Don't use
          canonical_type_variant.
      
      gcc/testsuite/ChangeLog:
          PR c++/39754
          * g++.dg/template/canon-type-1.C: New test.
          * g++.dg/template/canon-type-2.C: Likewise.
          * g++.dg/template/canon-type-3.C: Likewise.
          * g++.dg/template/canon-type-4.C: Likewise.
          * g++.dg/template/canon-type-5.C: Likewise.
          * g++.dg/template/canon-type-6.C: Likewise.
          * g++.dg/template/canon-type-7.C: Likewise.
      
      From-SVN: r147951
      Dodji Seketeli committed
    • re PR target/37216 ([cygming] Invalid alignment for SSE store to .comm data generated with -O3) · 233215fe
      gcc/ChangeLog:
      
      2009-05-28  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR target/37216
      
      	* configure.ac (HAVE_GAS_ALIGNED_COMM):  Add autoconf test and
      	macro definition for support of three-operand format aligned
      	.comm directive in assembler on cygwin/pe/mingw target OS.
      	* configure:  Regenerate.
      	* config.in:  Regenerate.
      
      	* config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common):  Use
      	aligned form of .comm directive if -mpe-aligned-commons is in effect.
      	* config/i386/cygming.opt (-mpe-aligned-commons):  Add new option.
      
      	* doc/invoke.texi (-mpe-aligned-commons):  Document new target option.
      	* doc/tm.texi (ASM_OUTPUT_COMMON):  Document zero size commons.
      
      gcc/testsuite/ChangeLog:
      
      2009-05-28  Dave Korn  <dave.korn.cygwin@gmail.com>
                  Uros Bizjak  <ubizjak@gmail.com>
                  Danny Smith  <dansmister@gmail.com>
      
      	PR target/37216
      
      	* lib/target-supports.exp (check_effective_target_pe_aligned_commons):
      	New function.
      	* gcc.target/i386/pr37216.c:  New test source file.
      	* gcc.dg/compat/struct-layout-1_generate.c (dg_options[]):  No longer
      	use -fno-common for testing Cygwin and MinGW targets.
      
      
      
      Co-Authored-By: Danny Smith <dansmister@gmail.com>
      Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
      
      From-SVN: r147950
      Dave Korn committed
    • packed6.C (size_t): Use __extension__ and __SIZE_TYPE__. · b10ca522
      2009-05-28  Kai Tietz  <kai.tietz@onevision.com>
      
      	*  g++.dg/ext/packed6.C (size_t): Use __extension__ and
      	__SIZE_TYPE__.
      	* g++.dg/opt/memcpy1.C (size_t): Likewise.
      	* g++.dg/pr37742.C (size_t): Likewise.
      	* g++.dg/torture/pr34850.C (size_t): Likewise.
      	* g++.dg/torture/20070621-1.C (ptrdiff_t): Use __extension__ and
      	_PTRDIFF_TYPE__.
      	* g++.dg/torture/pr34222.C (ptrdiff_t): Likewise.
      	* g++.dg/tree-ssa/pr22444.C (ptrdiff_t): Likewise.
      	(size_t): Use __extension__ and __SIZE_TYPE__.
      
      From-SVN: r147949
      Kai Tietz committed
    • 20000211-1.c (size_t): Typedef size_t via __SIZE_TYPE__. · 52c97635
      2009-05-28  Kai Tietz  <kai.tietz@onevision.com>
      
              * gcc.c-torture/compile/20000211-1.c (size_t): Typedef size_t via
      	__SIZE_TYPE__.
              * gcc.c-torture/compile/20010328-1.c (size_t): Likewise,
              * gcc.c-torture/compile/20030320-1.c (size_t): Likewise,
              * gcc.c-torture/compile/20030405-1.c (size_t): Likewise,
              * gcc.c-torture/compile/20030902-1.c (size_t): Likewise,
              * gcc.c-torture/compile/20060202-1.c (size_t): Likewise,
              * gcc.c-torture/compile/20080613-1.c (size_t): Likewise,
              * gcc.c-torture/compile/920428-2.c (size_t): Likewise,
              * gcc.c-torture/compile/980329-1.c (size_t): Likewise,
              * gcc.c-torture/compile/980816-1.c (size_t): Likewise,
              * gcc.c-torture/compile/pr32584.c (size_t): Likewise,
              * (__ssize_t): Likewise.
              * gcc.c-torture/compile/pr33173.c (size_t): Likewise,
              * gcc.c-torture/compile/pr33382.c (size_t): Likewise,
              * gcc.c-torture/compile/pr34334.c (size_t): Likewise,
              * gcc.c-torture/compile/pr34688.c (size_t): Likewise,
              * gcc.c-torture/compile/pr35043.c (size_t): Likewise,
              * gcc.c-torture/compile/pr37669.c (size_t): Likewise,
              * gcc.dg/20050629-1.c (size_t): Typedef size_t via __SIZE_TYPE__.
              * gcc.dg/pr33667.c (size_t): Likewise.
              * gcc.dg/prefetch-loop-arrays-1.c (size_t): Likewise.
              * gcc.dg/torture/pr39204.c (size_t): Likewise.
              * gcc.dg/tree-ssa/20041122-1.c (size_t): Likewise.
              * gcc.dg/tree-ssa/pr36908.c (size_t): Likewise.
              * gcc.dg/tree-ssa/pr38250.c (size_t): Likewise.
              * gcc.dg/tree-ssa/ssa-dse-10.c (size_t): Likewise.
      
      From-SVN: r147947
      Kai Tietz committed
    • re PR tree-optimization/40254 (SPEC2006 403.gcc miscompares) · 24adb18f
      
      	PR tree-optimization/40254
      	* tree-data-ref.c (dr_analyze_innermost): Take POFFSET into account
      	in analysis of basic blocks.
      
      From-SVN: r147945
      Ira Rosen committed
    • re PR middle-end/33699 (missing optimization on const addr area store) · 2c5bfdf7
      	PR middle-end/33699
      	* target.h (struct gcc_target): Fix indentation.  Add
      	const_anchor.
      	* target-def.h (TARGET_CONST_ANCHOR): New macro.
      	(TARGET_INITIALIZER): Use it.
      	* cse.c (CHEAPER): Move it up to the other macros.
      	(insert): Rename this ...
      	(insert_with_costs): ... to this.  Add cost parameters.  Update
      	function comment.
      	(insert): New function.  Call insert_with_costs.
      	(compute_const_anchors, insert_const_anchor, insert_const_anchors,
      	find_reg_offset_for_const, try_const_anchors): New functions.
      	(cse_insn): Call try_const_anchors.  Adjust cost of src_related
      	when using a const-anchor.  Call insert_const_anchors.
      	* config/mips/mips.c (mips_set_mips16_mode): Set
      	targetm.const_anchor.
      	* doc/tm.texi (Misc): Document TARGET_CONST_ANCHOR.
      
      testsuite/
      	* gcc.target/mips/const-anchor-1.c: New test.
      	* gcc.target/mips/const-anchor-2.c: New test.
      
      From-SVN: r147944
      Adam Nemet committed
    • Fix typo in ChangeLog entry date. · 51fb7760
      From-SVN: r147943
      Olivier Hainque committed
    • tree-inline.c (remap_decls): Enable nonlocalized variables when not optimizing. · 9e6aced0
      * tree-inline.c (remap_decls): Enable nonlocalized variables
      when not optimizing.
      
      From-SVN: r147941
      Alexandre Oliva committed
    • tree-ssa-live.c (remove_unused_locals): Skip when not optimizing. · 89fbbe4e
      * tree-ssa-live.c (remove_unused_locals): Skip when not optimizing.
      Simplify other tests involving optimize.
      
      From-SVN: r147939
      Alexandre Oliva committed
    • Daily bump. · c0ba7737
      From-SVN: r147938
      GCC Administrator committed
    • testsuite_allocator.h (check_new, [...]): Move to ... · daa15929
      2009-05-28  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/util/testsuite_allocator.h (check_new, check_delete): Move
      	to ...
      	* testsuite/util/replacement_memory_operators.h: ...here. New.
      	* testsuite/util/testsuite_hooks.h (counter): To object_counter.
      	* testsuite/util/testsuite_hooks.cc: Same.
      
      	* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Use
      	replacement_memory_operators.h.
      	* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
      	* testsuite/ext/mt_allocator/check_delete.cc: Same.
      	* testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Same.
      	* testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Same.
      	* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
      	* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
      	* testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
      	* testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
      	* testsuite/ext/mt_allocator/deallocate_local-6.cc: Same.
      	* testsuite/ext/mt_allocator/deallocate_local-8.cc: Same.
      	* testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
      	* testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
      	* testsuite/ext/mt_allocator/check_new.cc: Same.
      	* testsuite/ext/debug_allocator/check_delete.cc: Same.
      	* testsuite/ext/debug_allocator/check_new.cc: Same.
      	* testsuite/ext/new_allocator/deallocate_global.cc: Same.
      	* testsuite/ext/new_allocator/check_delete.cc: Same.
      	* testsuite/ext/new_allocator/check_new.cc: Same.
      	* testsuite/ext/new_allocator/deallocate_local.cc: Same.
      	* testsuite/ext/throw_allocator/deallocate_global.cc: Same.
      	* testsuite/ext/throw_allocator/check_delete.cc: Same.
      	* testsuite/ext/throw_allocator/check_new.cc: Same.
      	* testsuite/ext/throw_allocator/deallocate_local.cc: Same.
      	* testsuite/ext/malloc_allocator/deallocate_global.cc: Same.
      	* testsuite/ext/malloc_allocator/check_delete.cc: Same.
      	* testsuite/ext/malloc_allocator/check_new.cc: Same.
      	* testsuite/ext/malloc_allocator/deallocate_local.cc: Same.
      	* testsuite/ext/pool_allocator/check_delete.cc: Same.
      	* testsuite/ext/pool_allocator/check_new.cc: Same.
      	* testsuite/ext/bitmap_allocator/check_delete.cc: Same.
      	* testsuite/ext/bitmap_allocator/check_new.cc: Same.
      	* testsuite/ext/array_allocator/check_delete.cc: Same.
      	* testsuite/ext/array_allocator/check_new.cc: Same.
      	* testsuite/23_containers/deque/cons/1.cc: Same.
      	* testsuite/23_containers/deque/cons/2.cc: Same.
      
      From-SVN: r147937
      Benjamin Kosnik committed
  3. 27 May, 2009 17 commits