[Bug c++/67692] [concepts] ICE when using requires in non-concept contexts
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 2 05:14:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67692
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-08-02
Ever confirmed|0 |1
Known to fail| |7.0
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed:
t55.cc: In instantiation of 'bool f(T) [with T = int]':
t55.cc:9:6: required from here
t55.cc:6:1: internal compiler error: tree check: expected tree that contains
'typed' structure, have 'simple_req' in cp_fold, at cp/cp-gimplify.c:2049
}
^
0xfc2eab tree_contains_struct_check_failed(tree_node const*,
tree_node_structure_enum, char const*, int, char const*)
../../gcc/gcc/tree.c:9914
0x808617 contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
../../gcc/gcc/tree.h:3137
0x808617 cp_fold
../../gcc/gcc/cp/cp-gimplify.c:2075
0x808a9f cp_fold_r
../../gcc/gcc/cp/cp-gimplify.c:1013
More information about the Gcc-bugs
mailing list