Commit c8010d70 by Jakub Jelinek Committed by Jakub Jelinek

re PR target/89186 (ICE in mark_addressable at gcc/gimple-expr.c:894 since r268138)

	PR target/89186
	* optabs.c (prepare_cmp_insn): Pass x and y to
	emit_block_comp_via_libcall rather than XEXP (x, 0) and XEXP (y, 0).

	* g++.dg/ext/vector36.C: New test.

From-SVN: r268531
parent 7eeb6fc2
2019-02-05 Jakub Jelinek <jakub@redhat.com>
PR target/89186
* optabs.c (prepare_cmp_insn): Pass x and y to
emit_block_comp_via_libcall rather than XEXP (x, 0) and XEXP (y, 0).
2019-02-05 Richard Biener <rguenther@suse.de>
PR middle-end/89150
......
......@@ -3917,7 +3917,7 @@ prepare_cmp_insn (rtx x, rtx y, enum rtx_code comparison, rtx size,
goto fail;
/* Otherwise call a library function. */
result = emit_block_comp_via_libcall (XEXP (x, 0), XEXP (y, 0), size);
result = emit_block_comp_via_libcall (x, y, size);
x = result;
y = const0_rtx;
......
2019-02-05 Jakub Jelinek <jakub@redhat.com>
PR target/89186
* g++.dg/ext/vector36.C: New test.
2019-02-05 Alexandre Oliva <aoliva@redhat.com>
PR c++/87770
......
// PR target/89186
// { dg-do compile }
// { dg-options "-fnon-call-exceptions" }
// { dg-additional-options "-mno-sse" { target i?86-*-* x86_64-*-* } }
#include "vector27.C"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment