Commit fad5a400 by Jakub Jelinek Committed by Jakub Jelinek

re PR sanitizer/65000 (ICE in in expand_builtin_eh_common, at except.c:2072)

	PR sanitizer/65000
	* g++.dg/ubsan/pr65000.C: New test.

From-SVN: r220663
parent 81018dcf
2015-02-12 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/65000
* g++.dg/ubsan/pr65000.C: New test.
2015-02-12 Paul Thomas <pault@gcc.gnu.org>
PR fortran/64932
......
// PR sanitizer/65000
// { dg-do compile }
// { dg-options "-O1 -fsanitize=undefined -fno-sanitize-recover" }
struct B { virtual ~B () {} void foo (); };
struct C { virtual ~C (); };
struct A : public virtual C {};
struct D : A { ~D () { d.foo (); } B d; };
void
bar ()
{
D a;
}
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