[Bug c++/85015] [8 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in build_int_cst, at tree.c:1360
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 23 20:55:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85015
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar 23 20:54:50 2018
New Revision: 258822
URL: https://gcc.gnu.org/viewcvs?rev=258822&root=gcc&view=rev
Log:
PR c++/85015
* decl.c (compute_array_index_type): Set osize to mark_rvalue_use
result.
* g++.dg/cpp0x/pr85015.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr85015.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list