Commit 150e3476 by Jeff Law Committed by Jeff Law

re PR target/82823 (ICE in ix86_expand_prologue, at config/i386/i386.c:13171…

re PR target/82823 (ICE in ix86_expand_prologue, at config/i386/i386.c:13171 with -fstack-clash-protection)

	PR target/82823
	* g++.dg/torture/pr82823.C: New test.

From-SVN: r254398
parent 65ee6cb5
2017-11-03 Jeff Law <law@redhat.com>
PR target/82823
* g++.dg/torture/pr82823.C: New test.
* gcc.target/i386/stack-check-12.c: New test.
2017-11-03 Jakub Jelinek <jakub@redhat.com>
......
// { dg-do compile }
// { dg-additional-options "-fstack-clash-protection" }
// { dg-require-effective-target supports_stack_clash_protection }
class a
{
public:
~a ();
int b;
};
class c
{
public:
a m_fn1 ();
};
class d
{
int e ();
c f;
};
int
d::e ()
{
return f.m_fn1 ().b;
}
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