https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80665
--- Comment #3 from Andrew Pinski ---
To clarify Richard's statement in the following statement is undefined
Derived* snd_ptr = fst_ptr->as();
When fst_ptr is a null pointer.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80665
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80665
--- Comment #1 from abenkhadra ---
A small clarification: the segfault happens upon executing the produced binary
and not in g++ itself.