+2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/70750
+ * config/i386/predicates.md (call_insn_operand): Replace
+ sibcall_memory_operand with memory_operand.
+
2016-04-21 Patrick Palka <ppalka@gcc.gnu.org>
* tree-vrp.c (register_edge_assert_for_2): Remove redundant
(op, mode == VOIDmode ? mode : Pmode)")
(match_operand 0 "call_register_no_elim_operand")
(ior (and (not (match_test "TARGET_X32"))
- (match_operand 0 "sibcall_memory_operand"))
+ (match_operand 0 "memory_operand"))
(and (match_test "TARGET_X32 && Pmode == DImode")
(match_operand 0 "GOT_memory_operand")))))
+2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/70750
+ * gcc.target/i386/pr70750-1.c: New test.
+ * gcc.target/i386/pr70750-2.c: Likewise.
+
2016-04-21 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/70540
--- /dev/null
+/* { dg-do compile { target *-*-linux* } } */
+/* { dg-options "-O2" } */
+
+int
+f (int (**p) (void))
+{
+ return p[1]();
+}
+
+/* { dg-final { scan-assembler "jmp\[ \t\].*\\(%rdi\\)" { target { lp64 } } } } */
+/* { dg-final { scan-assembler "jmp\[ \t\]\\*%rax" { target { x32 } } } } */
--- /dev/null
+/* { dg-do compile { target *-*-linux* } } */
+/* { dg-options "-O2" } */
+
+int
+f (int (**p) (void))
+{
+ return -p[1]();
+}
+
+/* { dg-final { scan-assembler "call\[ \t\].*\\(%rdi\\)" { target { lp64 } } } } */
+/* { dg-final { scan-assembler "call\[ \t\]\\*%rax" { target { x32 } } } } */