[Bug c++/89024] [7/8 Regression] ICE testing convertibility of incomplete enumeration types
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 6 15:36:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89024
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Feb 6 15:36:20 2019
New Revision: 268583
URL: https://gcc.gnu.org/viewcvs?rev=268583&root=gcc&view=rev
Log:
PR c++/89024 - ICE with incomplete enum type.
* call.c (standard_conversion): When converting an
ARITHMETIC_TYPE_P to an incomplete type, return NULL.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/enum37.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/call.c
More information about the Gcc-bugs
mailing list