Commit 70c9ce2d by Oleg Endo

re PR rtl-optimization/59278 (combine does not replace matched insn)

testsuite/
	PR rtl-optimization/59278
	* gcc.target/sh/pr59278.c: New.

From-SVN: r218251
parent 14f2df34
2014-12-01 Oleg Endo <olegendo@gcc.gnu.org>
PR rtl-optimization/59278
* gcc.target/sh/pr59278.c: New.
2014-12-01 Paolo Carlini <paolo.carlini@oracle.com> 2014-12-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60859 PR c++/60859
......
/* Check that combine considers unused regs dead. */
/* { dg-do compile } */
/* { dg-options "-O1" } */
/* { dg-skip-if "" { "sh*-*-*" } { "-m5*"} { "" } } */
/* { dg-final { scan-assembler "addc" } } */
struct result
{
int a, b;
};
struct result
test_00 (int a, int b, int d)
{
struct result r;
r.a = a != b;
r.b = d + b + 1;
return r;
}
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