Commit ac746a73 by Ulrich Weigand Committed by Ulrich Weigand

re PR target/24620 (internal compiler error: in find_reloads, at reload.c:3730)

ChangeLog:

	PR target/24620
	* config/s390/s390.md ("*insv<mode>_reg_imm"): Accept any CONST_INT
	as operand 2.
	("*insv<mode>_reg_extimm"): Likewise.

testsuite/ChangeLog:

	PR target/24620
	* gcc.dg/pr24620.c: New test.

From-SVN: r106422
parent a92c58c2
2005-11-03 Ulrich Weigand <uweigand@de.ibm.com>
PR target/24620
* config/s390/s390.md ("*insv<mode>_reg_imm"): Accept any CONST_INT
as operand 2.
("*insv<mode>_reg_extimm"): Likewise.
2005-11-03 Joseph S. Myers <joseph@codesourcery.com>
PR c/24329
......
......@@ -2598,7 +2598,7 @@
[(set (zero_extract:P (match_operand:P 0 "register_operand" "+d")
(const_int 16)
(match_operand 1 "const_int_operand" "n"))
(match_operand:P 2 "const_int_operand" "K"))]
(match_operand 2 "const_int_operand" "n"))]
"TARGET_ZARCH
&& INTVAL (operands[1]) >= 0
&& INTVAL (operands[1]) < BITS_PER_WORD
......@@ -2619,7 +2619,7 @@
[(set (zero_extract:P (match_operand:P 0 "register_operand" "+d")
(const_int 32)
(match_operand 1 "const_int_operand" "n"))
(match_operand:P 2 "const_int_operand" "Os"))]
(match_operand 2 "const_int_operand" "n"))]
"TARGET_EXTIMM
&& INTVAL (operands[1]) >= 0
&& INTVAL (operands[1]) < BITS_PER_WORD
......
2005-11-03 Ulrich Weigand <uweigand@de.ibm.com>
PR target/24620
* gcc.dg/pr24620.c: New test.
2005-11-03 Joseph S. Myers <joseph@codesourcery.com>
PR c/24329
/* This used to ICE due to a backend problem on s390. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
struct rgba
{
unsigned char r;
unsigned char g;
unsigned char b;
unsigned char a;
};
void g (struct rgba);
void f (void)
{
struct rgba x;
x.r = 0;
x.g = 128;
x.b = 128;
x.a = 26;
g (x);
}
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