Fix changelog entry and add pr66896.C.
From-SVN: r231365
This commit is contained in:
parent
f3d6b759e1
commit
4f6788a171
@ -1,3 +1,7 @@
|
||||
2015-12-07 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* g++.dg/ipa/pr66896.C: New test.
|
||||
|
||||
2015-12-06 Dmitry Vyukov <dvyukov@google.com>
|
||||
|
||||
* gcc.dg/sancov/sancov.exp: Load asan-dg.exp.
|
||||
@ -10830,10 +10834,6 @@
|
||||
PR rtl-optimization/66626
|
||||
* gcc.target/i386/pr66626-2.c: New.
|
||||
|
||||
2015-07-16 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* g++.dg/ipa/pr66896.c: New test.
|
||||
|
||||
2015-07-16 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/66894
|
||||
|
22
gcc/testsuite/g++.dg/ipa/pr66896.C
Normal file
22
gcc/testsuite/g++.dg/ipa/pr66896.C
Normal file
@ -0,0 +1,22 @@
|
||||
// PR ipa/66896
|
||||
// { dg-do compile }
|
||||
|
||||
void f2 (void *);
|
||||
void f3 ();
|
||||
|
||||
struct A
|
||||
{
|
||||
int *a;
|
||||
A ();
|
||||
~A () { a3 (); }
|
||||
int a1 (int * p) { if (!p) f3 (); f2 (p); }
|
||||
void a3 () { if (*a) a1 (a); }
|
||||
};
|
||||
|
||||
struct B : A {~B () { a3 ();}};
|
||||
|
||||
struct F {};
|
||||
|
||||
struct G : F {B g;};
|
||||
|
||||
void foo () {G g;}
|
Loading…
Reference in New Issue
Block a user