Commit 5a5c3deb by Chen Gang Committed by Jeff Law

re PR target/65803 (blackfin: internal compiler error: segment fault linux kernel)

	PR target/65803
	* config/bfin/bfin.c (hwloop_optimize): Initialize
	JUMP_LABEL for newly created jump.

        PR target/65803
	* gcc.c-torture/pr65803.c: New test.

From-SVN: r224866
parent 6c4ed521
2015-06-23 Chen Gang <gang.chen.5i5j@gmail.com>
PR target/65803
* config/bfin/bfin.c (hwloop_optimize): Initialize
JUMP_LABEL for newly created jump.
2015-06-23 Tristan Gingold <gingold@adacore.com>
* collect-utils.c (collect_wait): Unlink the response file here
......
......@@ -3775,7 +3775,9 @@ hwloop_optimize (hwloop_info loop)
}
else
{
emit_jump_insn (gen_jump (label));
rtx_insn *ret = emit_jump_insn (gen_jump (label));
JUMP_LABEL (ret) = label;
LABEL_NUSES (label)++;
seq_end = emit_barrier ();
}
}
......
2015-06-23 Chen Gang <gang.chen.5i5j@gmail.com>
PR target/65803
* gcc.c-torture/pr65803.c: New test.
2015-06-23 Patrick Palka <ppalka@gcc.gnu.org>
PR c++/30044
......
/* { dg-options "-fno-strict-overflow" } */
typedef unsigned char __uint8_t;
typedef __uint8_t uint8_t;
typedef uint8_t u8_t;
typedef struct ip_addr ip_addr_t;
char *
ipaddr_ntoa_r (const ip_addr_t * addr, char *buf, int buflen)
{
char inv[3];
char *rp;
u8_t *ap;
u8_t n;
u8_t i;
int len = 0;
for (n = 0; n < 4; n++)
{
while (*ap);
while (i--)
{
if (len++ >= buflen)
return ((void *) 0);
*rp++ = inv[i];
} ap++;
}
}
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