Do not allow make_compound_operation for vector mode

* g++.dg/vect/pr70944.cc: New test.
	PR rtl-optimization/70944
	* combine.c (make_compound_operation):
	Do not allow make_compound_operation for vector mode

From-SVN: r238808
This commit is contained in:
Martin Liska 2016-07-28 10:26:51 +02:00 committed by Martin Liska
parent 5cb6b47352
commit e5f5bf35d7
3 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2016-07-28 Martin Liska <mliska@suse.cz>
PR rtl-optimization/70944
* combine.c (make_compound_operation):
Do not allow make_compound_operation for vector mode
2016-07-28 Kugan Vivekanandarajah <kuganv@linaro.org>
PR middle-end/71994

View file

@ -7770,6 +7770,10 @@ make_compound_operation (rtx x, enum rtx_code in_code)
rtx tem;
const char *fmt;
/* PR rtl-optimization/70944. */
if (VECTOR_MODE_P (mode))
return x;
/* Select the code to be used in recursive calls. Once we are inside an
address, we stay there. If we have a comparison, set to COMPARE,
but once inside, go back to our default of SET. */

View file

@ -1,3 +1,7 @@
2016-07-28 Martin Liska <mliska@suse.cz>
* g++.dg/vect/pr70944.cc: New test.
2016-07-28 Kugan Vivekanandarajah <kuganv@linaro.org>
PR middle-end/71994