1. 15 Apr, 2017 2 commits
  2. 14 Apr, 2017 9 commits
    • re PR fortran/80361 ([OOP] bogus recursive call to nonrecursive procedure with -fcheck=recursion) · 43076492
      2017-04-14  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/80361
      	* class.c (generate_finalization_wrapper): Give the finalization wrapper
      	the recursive attribute.
      
      2017-04-14  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/80361
      	* gfortran.dg/class_62.f90: New test case.
      
      From-SVN: r246934
      Janus Weil committed
    • arc: Fix for loop end detection · dd3d6a42
      We use a negative ID number to link together the doloop_begin and
      doloop_end instructions.  This negative ID number is setup within
      doloop_begin, at this point the ID is stored into the loop end
      instruction (doloop_end_i) and placed into the doloop_begin_i
      instruction.
      
      In arc.c (arc_reorg) we extract the ID from the doloop_end_i
      instruction in order to find the matching doloop_begin_i instruction,
      though the ID is only used in some cases.
      
      Currently in arc_reorg when we extract the ID we negate it.  This
      negation is invalid.  The ID stored in both doloop_end_i and
      doloop_begin_i is already negative, the negation in arc_reorg means
      that if we need to use the ID to find the doloop_begin_i then we will
      never find it (as the IDs will never match).
      
      This commit removes the unneeded negation, moves the extraction of the
      ID into a more appropriately scoped block and adds a new test for this
      issue.
      
      gcc/ChangeLog:
      
      	* config/arc/arc.c (arc_reorg): Move loop_end_id into a more local
      	block, and do not negate it, the stored id is already negative.
      
      gcc/testsuite/ChangeLog:
      
      	* gcc.target/arc/loop-1.c: New file.
      
      
      Co-Authored-By: Guy Benyei <guybe@mellanox.com>
      
      From-SVN: r246933
      Andrew Burgess committed
    • arc: Use @pcl assembler syntax instead of invalid expressions · 8c1d6b64
      The old ARC assembler would accept expressions like 'LABEL-(.&-4)'
      which would calculate the offset from the PCL to LABEL.  The new ARC
      assembler does not accept these expressions, instead there's an @pcl
      synax, used like LABEL@pcl which gives the offset from PCL to LABEL.
      
      Most of the use of the old expression syntax have been removed,
      however, this one got missed.
      
      gcc/ChangeLog:
      
      	* config/arc/arc.md (doloop_begin_i): Use @pcl assembler syntax.
      
      From-SVN: r246932
      Andrew Burgess committed
    • re PR target/80098 (ICE in curr_insn_transform, at lra-constraints.c:3816 on ppc64le) · 31a07c81
      [gcc]
      2017-04-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/80098
      	* config/rs6000/rs6000-cpus.def (OTHER_P9_VECTOR_MASKS): Define
      	masks of options that should be turned off if the VSX vector
      	options are turned off.
      	(OTHER_P8_VECTOR_MASKS): Likewise.
      	(OTHER_VSX_VECTOR_MASKS): Likewise.
      	* config/rs6000/rs6000.c (rs6000_option_override_internal): Call
      	rs6000_disable_incompatible_switches to validate no type switches
      	like -mvsx.
      	(rs6000_incompatible_switch): New function to disallow turning on
      	other vector options if -mno-vsx, -mno-power8-vector, or
      	-mno-power9-vector are specified.
      
      [gcc/testsuite]
      2017-04-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/80098
      	* gcc.target/powerpc/pr80098-1.c: New test.
      	* gcc.target/powerpc/pr80098-2.c: Likewise.
      	* gcc.target/powerpc/pr80098-3.c: Likewise.
      	* gcc.target/powerpc/pr80098-4.c: Likewise.
      
      From-SVN: r246930
      Michael Meissner committed
    • [ARC] Use long jumps for CRT calls · 19b250c4
      gcc/
      2017-04-17  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* config/arc/arc.h (CRT_CALL_STATIC_FUNCTION): Use long calls.
      
      From-SVN: r246927
      Claudiu Zissulescu committed
    • [ARC] DWARF emitting cleanup. · 213c9bf1
      The use of CFA_FRAME_BASE_OFFSET and ARG_POINTER_CFA_OFFSET macros
      leads to wrong offset calculation for DW_OP_fbreg constructions.
      Remove them.
      
      gcc/
      2017-04-14  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* config/arc/arc-protos.h (arc_decl_pretend_args): Remove.
      	* config/arc/arc.c (arc_decl_pretend_args): Likewise.
      	* config/arc/arc.h (CFA_FRAME_BASE_OFFSET): Likewise.
      	(ARG_POINTER_CFA_OFFSET): Likewise.
      
      From-SVN: r246926
      Claudiu Zissulescu committed
    • [ARC] Update mode_dependent_address_p hook. · 1fccdd40
      Update arc_mode_dependent_address_p to avoid emitting subreg(mem (reg
      ..)) when expanding by relaxing the conditions.
      
      gcc/
      2017-04-14  Claudiu Zissulescu  <claziss@synopsys.com>
      
      	* config/arc/arc.c (arc_mode_dependent_address_p): Relax
      	conditions to take advantage of various optimizations.
      
      From-SVN: r246925
      Claudiu Zissulescu committed
    • mips.mips.md (zero_extendsidi2): Do not allow SP to appear in operands[1] if it… · 1f33abd7
      mips.mips.md (zero_extendsidi2): Do not allow SP to appear in operands[1] if it is a MEM and TARGET_MIPS16 is active.
      
      	* config/mips.mips.md (zero_extendsidi2): Do not allow SP to appear
      	in operands[1] if it is a MEM and TARGET_MIPS16 is active.
      	(zero_extendsidi2_dext): Likewise.
      
      From-SVN: r246924
      Jeff Law committed
    • Daily bump. · 67630cef
      From-SVN: r246923
      GCC Administrator committed
  3. 13 Apr, 2017 10 commits
  4. 12 Apr, 2017 13 commits
  5. 11 Apr, 2017 6 commits