[Bug c++/84445] [7/8 Regression] ICE with __builtin_launder and virtual function
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 20 08:57:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84445
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 20 08:22:31 2018
New Revision: 257840
URL: https://gcc.gnu.org/viewcvs?rev=257840&root=gcc&view=rev
Log:
PR c++/84445
* class.c (fixed_type_or_null) <case CALL_EXPR>: Only test
TREE_HAS_CONSTRUCTOR if instance is not an internal function call.
* g++.dg/cpp1z/launder7.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp1z/launder7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list