This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67692] [concepts] ICE when using requires in non-concept contexts
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Aug 2016 05:14:18 +0000
- Subject: [Bug c++/67692] [concepts] ICE when using requires in non-concept contexts
- Auto-submitted: auto-generated
- References: <bug-67692-4@http.gcc.gnu.org/bugzilla/>
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