1. 19 Jul, 2012 16 commits
    • ia64: Update vector multiply pattern names; delete dot_prod · 1312c276
      With the even/odd v4hi multiply pattern names, we'll automatically
      generate the same code for dot_prodv4hi.  The dot_prodv8qi pattern
      was actively incorrect wrt output mode.
      
              * config/ia64/vect.md (smulv4hi3_highpart): New.
              (umulv4hi3_highpart): New.
              (vec_widen_smult_even_v4hi): Rename from pmpy2_even.
              (vec_widen_smult_odd_v4hi): Rename from pmpy2_odd.
              (udot_prodv8qi, sdot_prodv8qi): Remove.
              (sdot_prodv4hi, udot_prodv4hi): Remove.
              * config/ia64/ia64.c (ia64_expand_dot_prod_v8qi): Remove.
              * config/ia64/ia64-protos.h: Update.
      
      From-SVN: r189674
      Richard Henderson committed
    • Allow divmod on UNITS_PER_WORD vectors · e6d4f8f5
              * tree-vect-patterns.c (vect_recog_divmod_pattern): Do not require
              vectors larger than UNITS_PER_WORD.
      
      From-SVN: r189673
      Richard Henderson committed
    • Fix 0 != CODE_FOR_nothing thinko · dee54b6e
              * expr.c (store_constructor): Initialize icode with CODE_FOR_nothing.
              * tree-vect-stmts.c (vectorizable_operation): Use LAST_INSN_CODE for
              dummy != CODE_FOR_nothing value.
      
      From-SVN: r189672
      Richard Henderson committed
    • interface.c (compare_parameter, [...]): Fix handling of polymorphic arguments. · 99091b70
      2012-07-19  Tobias Burnus  <burnus@net-b.de>
      
              * interface.c (compare_parameter, compare_actual_formal): Fix
              handling of polymorphic arguments.
      
      From-SVN: r189669
      Tobias Burnus committed
    • decl.c (gnat_to_gnu_entity): Do not look up the REP part of the base type in advance. · 638eeae8
      	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Do not
      	look up the REP part of the base type in advance.  Deal with that of
      	the variant types.
      	(get_rep_part): Be prepared for record types with fields.
      
      From-SVN: r189666
      Eric Botcazou committed
    • tm.texi.in (MODE_AFTER): Add entity as the first macro argument. · 9786913b
      	* doc/tm.texi.in (MODE_AFTER): Add entity as the first macro argument.
      	* doc/tm.texi: Regenerate.
      	* mode-switching.c (optimize_mode_switching): Update MODE_AFTER call.
      	* config/sh/sh.h (MODE_AFTER): Update.
      	* config/epiphany/epiphany.h (MODE_AFTER): Update.
      
      From-SVN: r189665
      Uros Bizjak committed
    • Fix --produce_manifest flag in validate_failures.py. · 29476fe1
      When I added the functionality to use other summary files for
      reporting, I broke the generation of manifests. When sum files are
      passed on, we need to use the list. Otherwise, we need to find summary
      files in the build directory.
      
      This patch factors out that logic into a new function and calls it
      from both the reporting and generation routines.
      
      Committed to trunk.
      
      	* testsuite-management/validate_failures.py (CollectSumFiles):
      	Rename from GetSumFiles.
      	(GetSumFiles): Factor out of CheckExpectedResults.
      	(CheckExpectedResults): Call it.
      	(ProduceManifest): Call it.
      
      From-SVN: r189662
      Diego Novillo committed
    • re PR middle-end/54017 (Incorrect implementation of infinite loops in OpenMP… · 65e7bfe3
      re PR middle-end/54017 (Incorrect implementation of infinite loops in OpenMP sections leads to SIGILL)
      
      	PR middle-end/54017
      	* tree-cfgcleanup.c (cleanup_omp_return): Remove.
      	(cleanup_tree_cfg_bb): Don't call it.
      	* omp-low.c (expand_omp_sections): Fix up the !exit_reachable case
      	handling.
      
      	* c-c++-common/gomp/pr54017.c: New test.
      
      From-SVN: r189658
      Jakub Jelinek committed
    • re PR target/54029 (SH: ICE in find_dead_or_set_registers) · 867ff7ed
      PR target/54029
      * config/sh/sh.c (gen_far_branch): Set JUMP_LABEL for return jumps.
      
      From-SVN: r189652
      Christian Bruel committed
    • tree-ssa-ccp.c (valid_lattice_transition): Clarify comment about transition from… · 95cbf851
      tree-ssa-ccp.c (valid_lattice_transition): Clarify comment about transition from invariant to known bits.
      
      2012-07-19  Richard Guenther  <rguenther@suse.de>
      	Eric Botcazou  <ebotcazou@adacore.com>
      
      	* tree-ssa-ccp.c (valid_lattice_transition): Clarify comment
      	about transition from invariant to known bits.
      	(likely_value): Addresses with UNDEFINED components are
      	UNDEFINED.
      
      	* gnat.dg/loop_optimization11.adb: New testcase.
      	* gnat.dg/loop_optimization11_pkg.ads: Likewise.
      
      Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
      
      From-SVN: r189650
      Richard Guenther committed
    • re PR tree-optimization/53970 (-ftree-vectorization does not handle well unaligned data) · cd1cae35
      2012-07-19  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/53970
      	* tree-vect-data-refs.c (not_size_aligned): Avoid sign-compare
      	warning.
      
      From-SVN: r189647
      Richard Guenther committed
    • eh_personality.cc (__gxx_personality_seh0): New function. · bf1431e3
      libstdc++-v3/
      	* libsupc++/eh_personality.cc (__gxx_personality_seh0): New function.
      	Adjust for SEH.
      	* config/abi/pre/gnu.ver: Add __gxx_personality_seh0.
      
      libobjc/
      	* exception.c (__gnu_objc_personality_seh0): New function.
      
      libjava/
      	* libgcj.ver: Add __gcj_personality_seh0.
      	* exception.cc (__gcj_personality_seh0): New function.
      	Adjust for SEH.
      
      libgcc/
      	* unwind-seh.c: New file.
      	* unwind-generic.h: Include windows.h for SEH.
      	(_Unwind_Exception): Use 6 private fields for SEH.
      	(_GCC_specific_handler): Declare.
      	* unwind-c.c (__gcc_personality_seh0): New function.
      	Adjust for SEH.
      	* config/i386/libgcc-cygming.ver: New file.
      	* config/i386/t-seh-eh: New file.
      	* config.host (x86_64-*-mingw*): Default to seh.
      
      gcc/
      	* opts.c (finish_options): Handle UI_SEH.
      	* expr.c (build_personality_function): Handle UI_SEH.
      	* dwarf2out.c (dwarf2out_begin_prologue): Handle UI_SEH.
      	* coretypes.h (unwind_info_type): Add UI_SEH.
      	* config/i386/winnt.c (i386_pe_seh_emit_except_personality):
      	New function.
      	(i386_pe_seh_init_sections): Likewise.
      	* config/i386/cygming.h (TARGET_ASM_EMIT_EXCEPT_PERSONALITY): Define.
      	(TARGET_ASM_INIT_SECTIONS): Define.
      	* common/config/i386/i386-common.c (TARGET_EXCEPT_UNWIND_INFO): Define.
      	(i386_except_unwind_info): New function.
      
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r189644
      Tristan Gingold committed
    • * pt.c (instantiate_decl): Don't recheck substitutions. · fa4a66d1
      From-SVN: r189640
      Jason Merrill committed
    • DR 1170 PR c++/51213 · 0e69fdf0
      	DR 1170
      	PR c++/51213
      	* semantics.c (perform_access_checks): Add complain parm, return bool.
      	(perform_deferred_access_checks): Likewise.
      	(perform_or_defer_access_check): Likewise.
      	(speculative_access_check): Remove.
      	* call.c (enforce_access): Add complain parm, return bool.
      	* decl.c, friend.c, class.c, init.c, parser.c: Adjust callers.
      	* search.c: Adjust callers.
      	* cp-tree.h (TINFO_RECHECK_ACCESS_P): New macro.
      	(FNDECL_RECHECK_ACCESS_P): New macro.
      	* method.c (synthesized_method_walk): Stop deferring access checks.
      	* pt.c (recheck_decl_substitution): New.
      	(instantiate_template_1): Set and check FNDECL_RECHECK_ACCESS_P.
      
      Co-Authored-By: Jason Merrill <jason@redhat.com>
      
      From-SVN: r189639
      Paolo Carlini committed
    • method.c (process_subob_fn): Make sure no_implicit_p is non-null before trying to store through it. · 1936ace0
      	* method.c (process_subob_fn): Make sure no_implicit_p is non-null
      	before trying to store through it.
      
      From-SVN: r189638
      Jason Merrill committed
    • Daily bump. · 6968ffa4
      From-SVN: r189637
      GCC Administrator committed
  2. 18 Jul, 2012 24 commits