1. 11 Feb, 2019 6 commits
  2. 10 Feb, 2019 16 commits
  3. 09 Feb, 2019 11 commits
  4. 08 Feb, 2019 7 commits
    • [RS6000] Correct save_reg_p · 9b747072
      Fixes lack of r30 save/restore on
      
      // -m32 -fpic -ftls-model=initial-exec
      __thread char* p;
      char** f1 (void) { return &p; }
      
      and
      
      // -m32 -fpic -msecure-plt
      extern int foo (int);
      int f1 (int x) { return foo (x); }
      
      These are both caused by save_reg_p returning false when the pic
      offset table reg (r30 for ABI_V4) was used, due to the logic not
      exactly matching that in rs6000_emit_prologue to set up r30.
      
      I also noticed that save_reg_p isn't following the comment regarding
      calls_eh_return (since svn 267049, git 0edf78b1b2a0), and the comment
      needs tweaking too.  For why the revised comment is correct, grep for
      saves_all_registers in lra.c, and yes, we do want to save the pic
      offset table reg for eh_return.
      
      	PR target/88343
      	* config/rs6000/rs6000.c (save_reg_p): Correct calls_eh_return
      	case.  Match logic in rs6000_emit_prologue emitting pic_offset_table
      	setup.
      
      From-SVN: r268708
      Alan Modra committed
    • re PR tree-optimization/88739 (Big-endian union bug) · ddf32191
      	PR tree-optimization/88739
      	* gcc.c-torture/execute/pr88739.c: New test.
      
      From-SVN: r268706
      Jakub Jelinek committed
    • re PR middle-end/88560 (armv8_2-fp16-move-1.c and related regressions after r266385) · 82396b8c
      2019-02-08  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR middle-end/88560
      	* lra-constraints.c (process_alt_operands): Don't increase reject
      	for memory when offset memory is required.
      
      From-SVN: r268705
      Vladimir Makarov committed
    • re PR testsuite/89258 (verify_gimple failed in gimple test pr80887 for 16-bit target) · b74ab8eb
      2019-02-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
      
      	PR testsuite/89258
      	* gcc.dg/tree-ssa/pr80887.c: Require int32plus.
      
      From-SVN: r268704
      Jozef Lawrynowicz committed
    • S/390: Implement vector copysign. · 062468db
      This patch implements the vector copysign operation using vector select and a
      signbit mask.
      
      gcc/ChangeLog:
      
      2019-02-08  Robin Dapp  <rdapp@linux.ibm.com>
      
      	* config/s390/vector.md: Implement vector copysign.
      
      gcc/testsuite/ChangeLog:
      
      2019-02-08  Robin Dapp  <rdapp@linux.ibm.com>
      
      	* gcc.target/s390/vector/vec-copysign-execute.c: New test.
      	* gcc.target/s390/vector/vec-copysign.c: New test.
      
      From-SVN: r268697
      Robin Dapp committed
    • expr.c: Correct indentations in expand_constructor · 94e35e0b
      	* expr.c (expand_constructor): Correct indentations.
      
      From-SVN: r268696
      H.J. Lu committed
    • re PR tree-optimization/89247 (ICE in expand_LOOP_VECTORIZED, at internal-fn.c:2409) · a2d0c3bf
      2019-02-08  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/89247
      	* tree-if-conv.c: Include tree-cfgcleanup.h.
      	(version_loop_for_if_conversion): Record LOOP_VECTORIZED call.
      	(tree_if_conversion): Pass through predicate vector.
      	(pass_if_conversion::execute): Do CFG cleanup and SSA update
      	inline, see if any if-converted loops we refrece in
      	LOOP_VECTORIZED calls vanished and fixup.
      	* tree-if-conv.h (tree_if_conversion): Adjust prototype.
      
      	* gcc.dg/torture/pr89247.c: New testcase.
      
      From-SVN: r268689
      Richard Biener committed