Commit dad57b68 by Oleg Endo

re PR target/38621 (sh gcc unable to spill register when building ghostscript-gpl with -O2)

	PR target/38621
	* gcc.c-torture/compile/pr38621.c: New.

From-SVN: r189605
parent 59194a3c
2012-07-18 Oleg Endo <olegendo@gcc.gnu.org>
PR target/38621
* gcc.c-torture/compile/pr38621.c: New.
2012-07-18 Oleg Endo <olegendo@gcc.gnu.org>
PR target/33135
* gcc.target/sh/pr33135-1.c: New.
* gcc.target/sh/pr33135-2.c: New.
......
/* PR target/38621 */
struct s
{
char a[512];
int b;
int c;
};
long long
foo (struct s *p, int m, int r)
{
if (r == m)
p->b = 3;
p->c = 1;
return m;
}
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