1. 20 Dec, 2009 3 commits
  2. 19 Dec, 2009 6 commits
    • dodji's avatar
      Fix PR c++/42225, take 2 · 8a03d6ff
      dodji authored
      	PR c++/42225
      	* pt.c (push_template_decl_real): Set DECL_CONTEXT of template type
      	parms to their containing template decl.
      	* typeck.c (comp_template_parms_position): Split this from
      	(incompatible_template_type_parms_p): Renamed
      	incompatible_dependent_typedefs_p into this. Change the function to
      	handle comparison between TEMPLATE_TYPE_PARMs only.
      	(structural_comptypes): Use comp_template_parms_position in
      	Use incompatible_template_type_parms_p in TEMPLATE_TYPE_PARM case.
      	* mangle.c (decl_mangling_context): Template type parms don't have
      	a mangling context.
      	* tree.c (cp_set_underlying_type): Set type structural equality
      	only for TEMPLATE_TYPE_PARMs.
      	PR c++/42225
      	* g++.dg/template/typedef26.C: New test.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155363 138bc75d-0d04-0410-961f-82ee72b054a4
    • rguenth's avatar
      2009-12-19 Richard Guenther <rguenther@suse.de> · 587b6208
      rguenth authored
      	PR lto/42401
      	* lto-streamer-out.c (tree_is_indexable): Local statics
      	are indexable.
      	(lto_output_tree_ref): Adjust assert.
      	* g++.dg/lto/20091219_0.C: New testcase.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155361 138bc75d-0d04-0410-961f-82ee72b054a4
    • rguenth's avatar
      2009-12-19 Richard Guenther <rguenther@suse.de> · 4a83fadb
      rguenth authored
      	PR tree-optimization/42108
      	* tree-ssa-sccvn.c (last_vuse_ptr): New variable.
      	(vn_reference_lookup_2): Update last seen VUSE.
      	(vn_reference_lookup_3): Avoid updating last seen VUSE after
      	(visit_reference_op_load): Use last seen VUSE from the first
      	lookup when entering into the table.
      	* gfortran.dg/pr42108.f90: New testcase.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155360 138bc75d-0d04-0410-961f-82ee72b054a4
    • jb's avatar
      Increase clock resolution for system_clock_8. · f7a00615
      jb authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155359 138bc75d-0d04-0410-961f-82ee72b054a4
    • amylaar's avatar
      * Makefile.in (PLUGIN_HEADERS): Add more headers. · c34d1545
      amylaar authored
              * tree-pass.h (GCC_PASS_LISTS): Define.
              (PASS_LIST_NO_all_lowering_passes): New enumeration value.
              (PASS_LIST_NO_all_small_ipa_passes): Likewise.
              (PASS_LIST_NO_all_regular_ipa_passes): Likewise.
              (PASS_LIST_NO_all_lto_gen_passes): Likewise.
              (PASS_LIST_NO_all_passes): Likewise.
              (PASS_LIST_NUM): Likewise.
              (gcc_pass_lists): Declare.
              * passes.c (gcc_pass_lists): Define.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155354 138bc75d-0d04-0410-961f-82ee72b054a4
    • gccadmin's avatar
      Daily bump. · 99518747
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155353 138bc75d-0d04-0410-961f-82ee72b054a4
  3. 18 Dec, 2009 11 commits
  4. 17 Dec, 2009 20 commits
    • jakub's avatar
      * dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs · fdd3340f
      jakub authored
      	use DW_OP_addr+DW_OP_stack_value instead of DW_OP_implicit_value.
      	(add_const_value_attribute): For CONST_STRING, SYMBOL_REFs and
      	LABEL_REFs use DW_OP_addr+DW_OP_stack_value DW_AT_location instead of
      	* gcc.dg/debug/dwarf2/const-1.c: Don't expect DW_AT_const_value,
      	but instead DW_AT_location with DW_OP_addr+DW_OP_stack_value.  Add
      	-gno-strict-dwarf -fno-merge-debug-strings to dg-options.
      	* g++.dg/debug/dwarf2/const1.C: Likewise.
      	* g++.dg/debug/dwarf2/template-params-3.C: Likewise.
      	* g++.dg/debug/dwarf2/template-func-params-3.C: Likewise.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155327 138bc75d-0d04-0410-961f-82ee72b054a4
    • jakub's avatar
      PR debug/41679 · bb325882
      jakub authored
      	* var-tracking.c (count_uses): Count MO_VAL_USE of original
      	MO_VAL_SET value for COND_EXEC.
      	(add_stores): Handle conditional stores.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155324 138bc75d-0d04-0410-961f-82ee72b054a4
    • jakub's avatar
      PR debug/41679 · 67f2e0ef
      jakub authored
      	* var-tracking.c (use_type): Remove indirection from loc.
      	(count_uses): Dereference incoming loc early.
      	(add_uses): Dereference incoming loc early.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155323 138bc75d-0d04-0410-961f-82ee72b054a4
    • jakub's avatar
      PR debug/41679 · 3e873167
      jakub authored
      	* var-tracking.c (add_stores): Avoid value mode mismatch for
      	promoted declarations.
      	* gcc.target/arm/pr41679.c: New.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155322 138bc75d-0d04-0410-961f-82ee72b054a4
    • jakub's avatar
      PR c++/42386 · 0ca9d009
      jakub authored
      	* ipa.c (function_and_variable_visibility): Clear same_comdat_group
      	links of DECL_EXTERNAL nodes.
      	* g++.dg/opt/dtor3.C: New test.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155321 138bc75d-0d04-0410-961f-82ee72b054a4
    • sandra's avatar
      2009-12-17 Sandra Loosemore <sandra@codesourcery.com> · 8fad942e
      sandra authored
      	* doc/rtl.texi (Vector Operations): Clarify vec_select result mode.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155320 138bc75d-0d04-0410-961f-82ee72b054a4
    • jules's avatar
      gcc/ · 41b67cc5
      jules authored
      	* config/arm/bpabi-v6m.S (test_div_by_zero): New macro.
      	(aeabi_ldivmod, aeabi_uldivmod): Use above macro.
      	* config/arm/bpabi.S (test_div_by_zero): New macro.
      	(aeabi_ldivmod, aeabi_uldivmod): Use above macro.
      	* config/arm/lib1funcs.asm (ARM_LDIV0): Tail-call int div-by-zero
      	handler for EABI. Add signed/unsigned argument, pass correct value
      	to that handler.
      	(THUMB_LDIV0): Same, for Thumb.
      	(DIV_FUNC_END): Add signed argument.
      	(WEAK): New macro (for EABI).
      	(__udivsi3, __umodsi3): Add unsigned argument to DIV_FUNC_END. For
      	__udivsi3, add entry point which skips division-by-zero test.
      	(__divsi3, __modsi3): Add signed argument to DIV_FUNC_END.
      	(__aeabi_uidivmod, __aeabi_idivmod): Check for division by zero.
      	Call __udivsi3 or __divsi3 via entry points which skip
      	division-by-zero tests.
      	(__div0): Rename to __aeabi_idiv0, __aeabi_ldiv0 for EABI, and
      	declare those names weak.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155319 138bc75d-0d04-0410-961f-82ee72b054a4
    • davek's avatar
      PR target/42377 · a58abd8f
      davek authored
      	* config/abi/pre/gnu.ver: Adjust mangled function signatures to permit
      	LLP64 sizetypes throughout.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155318 138bc75d-0d04-0410-961f-82ee72b054a4
    • rguenth's avatar
      2009-12-17 Richard Guenther <rguenther@suse.de> · 0ea95334
      rguenth authored
      	PR middle-end/42397
      	* builtins.c (get_object_alignment): Properly deal with
      	a CONST_DECL base.
      	* expr.c (emit_block_move_hints): Assert the alignment makes
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155316 138bc75d-0d04-0410-961f-82ee72b054a4
    • charlet's avatar
      * ada/acats/run_all.sh: Strip comments from norun.lst · 97b75cb1
      charlet authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155314 138bc75d-0d04-0410-961f-82ee72b054a4
    • uros's avatar
      PR target/32280 · c98fd3f6
      uros authored
      	* config/i386/i386-modes.def (V1TI): New vector mode.
      	* config/i386/i386.h (VALID_SSE_REG_MODE): Add V1TImode.
      	(SSE_REG_MODE_P): Ditto.
      	* config/i386/sse.md (SSEMODE16): New mode iterator.
      	(AVXMODE16): Ditto.
      	(avxvecmode): Handle V1TI mode.
      	(*avx_mov<mode>_internal): Use AVXMODE16 instead of AVXMODE.
      	(mov<mode>): Use SSEMODE16 instead of SSEMODE.
      	(*mov<mode>_internal): Ditto.
      	(push<mode>1): Ditto.
      	(movmisalign<mode>): Ditto.
      	(sse2_ashlv1ti): Rename from sse2_ashlti.
      	(sse2_lshrv1ti): Rename from sse2_lshrti.
      	(*avx_ashlv1ti): Rename from *avx_ashlti and move from i386.md.
      	(*avx_lshrv1ti): Rename from *avx_lshrti and move from i386.md.
      	(vec_shl_<mode>): Convert operands to V1TImode and use V1TI shift.
      	(vec_shr_<mode>): Ditto.
      	(*sse2_mulv4si3): Update for renamed sse2_ashlv1ti3.
      	(udot_prodv4si): Ditto.
      	* config/i386/i386.c (classify_argument): Handle V1TImode.
      	(function_arg_advance_32): Ditto.
      	(function_arg_32): Ditto.
      	(ix86_expand_sse4_unpack): Convert operands to V1TImode and update
      	for renamed gen_sse2_lshrv1ti3.
      	(ix86_expand_args_builtin) <V2DI_FTYPE_V2DI_INT_CONVERT>: Set rmode
      	to V1TImode.
      	(struct builtin_description) <__builtin_ia32_pslldqi128>: Update
      	for renamed sse2_ashlv1ti3.
      	<__builtin_ia32_psrldqi128>: Update for renamed sse2_lshrv1ti3.
      	2007-06-11  Uros Bizjak  <ubizjak@gmail.com>
      	PR target/32280
      	* config/i386/sse.md ("sse2_ashlti", "sse2_lshrti3"): Move ...
      	* config/i386/i386.md ("sse2_ashlti", "sse2_lshrti3"): ... to here.
      	PR target/32280
      	* gcc.target/i386/pr32280-1.c: New test.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155312 138bc75d-0d04-0410-961f-82ee72b054a4
    • pzhao's avatar
      2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> · 535059dc
      pzhao authored
      	* objc-act.c (objc_substitute_decl, build_ivar_reference,
      	get_super_receiver): Update build_indirect_ref calls.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155311 138bc75d-0d04-0410-961f-82ee72b054a4
    • rearnsha's avatar
      PR target/42372 · cc071db6
      rearnsha authored
      	* arm.md (pic_add_dot_plus_eight): Change output constraint from
      	update to write.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155310 138bc75d-0d04-0410-961f-82ee72b054a4
    • pzhao's avatar
      2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> · 98a3a0b0
      pzhao authored
      	* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
      	Update build_indirect_ref calls.	
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155309 138bc75d-0d04-0410-961f-82ee72b054a4
    • paolo's avatar
      2009-12-17 Paolo Carlini <paolo.carlini@oracle.com> · 098ab116
      paolo authored
      	PR libstdc++/42198
      	* src/thread.cc (thread::_M_start_thread): Throw system_error
      	immediately if the thread system is inactive.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155308 138bc75d-0d04-0410-961f-82ee72b054a4
    • uros's avatar
      * objc/execute/forward-1.x: XFAIL for -fgnu-runtime on · 043241be
      uros authored
          x86_64-*-darwin*, powerpc*-*-darwin* and alpha*-*-linux* targets.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155307 138bc75d-0d04-0410-961f-82ee72b054a4
    • bkoz's avatar
      2009-12-16 Benjamin Kosnik <bkoz@redhat.com> · ae1e43b3
      bkoz authored
      	PR libstdc++/21772 part 2
      	* doc/xml/manual/test.xml: Add documentation about testing details.
      	* testsuite/util/exception/safety.h: New. Functor objects for
      	testing C++0x container classes.
      	* testsuite/util/testsuite_container_traits.h: Add traits.
      	* testsuite/23_containers/list/requirements/exception/
      	basic.cc: New.
      	generation_prohibited.cc: New.
      	propagation_consistent.cc: New.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155306 138bc75d-0d04-0410-961f-82ee72b054a4
    • janus's avatar
      gcc/fortran/ · 70f88196
      janus authored
      2009-12-17 Janus Weil  <janus@gcc.gnu.org>
      	PR fortran/42144
      	* trans-expr.c (select_class_proc): Skip abstract base types.
      2009-12-17  Janus Weil  <janus@gcc.gnu.org>
      	PR fortran/42144
      	* gfortran.dg/dynamic_dispatch_6.f03: New test.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155305 138bc75d-0d04-0410-961f-82ee72b054a4
    • uros's avatar
      * config/i386/sync.md (IMODE): Remove mode iterator. · 0a235645
      uros authored
      	(modesuffix): Remove mode attribute.
      	(modeconstraint): Ditto.
      	(immconstraint): Ditto.
      	(*sync_compare_and_swap<mode>): Use SWI mode iterator instead of
      	IMODE mode iterator, imodesuffix mode attribute instead of modesuffix,
      	<r> mode attribute instead of modeconstraint and <i> mode attribute
      	instead of immconstraint.
      	(sync_double_compare_and_swap<mode>): Ditto.
      	(sync_old_add<mode>): Ditto.
      	(sync_lock_test_and_set<mode>): Ditto.
      	(sync_add<mode>): Ditto.
      	(sync_sub<mode>): Ditto.
      	(sync_and<mode>): Ditto.
      	(sync_ior<mode>): Ditto.
      	(sync_xor<mode>): Ditto.
      	(sync_<code><mode>): Macroize insn pattern from
      	sync_{and,ior,xor}<mode> using any_logic code iterator.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155304 138bc75d-0d04-0410-961f-82ee72b054a4
    • pzhao's avatar
      2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> · 2579bc64
      pzhao authored
      	* call.c (build_over_call, build_java_interface_fn_ref): Update
      	cp_build_indirect_ref calls.
      	* typeck2.c (build_m_component_ref): Likewise.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155303 138bc75d-0d04-0410-961f-82ee72b054a4