Commit 0ff4390d by Andreas Krebbel Committed by Andreas Krebbel

re PR target/55718 (ICE in gen_reg_rtx, at emit-rtl.c:866)

2013-01-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	PR target/55718
	* config/s390/s390.c (s390_symref_operand_p)
	(s390_loadrelative_operand_p): Merge the two functions.
	(s390_check_qrst_address, print_operand_address): Add parameters
	to s390_loadrelative_operand_p invokation.
	(s390_check_symref_alignment): Use s390_loadrelative_operand_p.
	(s390_reload_larl_operand, s390_secondary_reload): Use
	s390_loadrelative_operand_p instead of s390_symref_operand_p.
	(legitimize_pic_address): Handle @GOTENT and @PLT + addend.

From-SVN: r195078
parent 01a3a324
2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
PR target/55718
* config/s390/s390.c (s390_symref_operand_p)
(s390_loadrelative_operand_p): Merge the two functions.
(s390_check_qrst_address, print_operand_address): Add parameters
to s390_loadrelative_operand_p invokation.
(s390_check_symref_alignment): Use s390_loadrelative_operand_p.
(s390_reload_larl_operand, s390_secondary_reload): Use
s390_loadrelative_operand_p instead of s390_symref_operand_p.
(legitimize_pic_address): Handle @GOTENT and @PLT + addend.
2013-01-09 Mike Stump <mikestump@comcast.net>
* dse.c (record_store): Remove unnecessary assert.
......
/* PR target/55717 */
/* { dg-do compile } */
/* { dg-options "-O2 -march=z10 -fPIC" } */
extern char temp[];
short ansi_value[256];
void terminal_state(void)
{
static const char *puc[] = { "", "<", "=", ">", "?", 0};
int i, j, k, l, modes_found;
char buf[256];
k = (int) __builtin_strlen(temp);
for (j = l = 0; j < 255 && j - l < 50; j++)
{
__builtin_sprintf(temp, "\033[%s%d$p", puc[i], j);
if (ansi_value[1])
{
l = j;
buf[k] = '\0';
put_crlf();
ptextln(buf);
buf[k++] = ' ';
k = (int) __builtin_strlen(temp);
}
}
for (i = j = 0; j < modes_found; j = ++i >> 1)
;
}
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