Commit 797db64b authored by hjl's avatar hjl
Browse files

Add a testcase for PR tree-optimization/43695.

2011-02-04  H.J. Lu  <hongjiu.lu@intel.com>

	PR tree-optimization/43695
	* g++.dg/ipa/pr43695.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169835 138bc75d-0d04-0410-961f-82ee72b054a4
parent 351b6ccf
2011-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR tree-optimization/43695
* g++.dg/ipa/pr43695.C: New.
2011-02-04 Jakub Jelinek <jakub@redhat.com>
PR inline-asm/23200
......
/* { dg-do compile } */
/* { dg-options "-fipa-cp -fipa-cp-clone" } */
extern void baz(int) __attribute__ ((noreturn));
struct S {
~S();
};
__attribute__ ((noreturn, noinline))
void bar(int i)
{
baz(i);
}
void foo()
{
S s;
bar(0);
}
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