This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/86355] Internal compiler error with pack expansion and fold expression


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86355

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |7.3.1, 8.1.1, 9.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Trunk:

t.C: In substitution of ‘template<class V, class ... T> using check2 =
mp_all<std::is_same<V, void>, std::integral_constant<bool,
(static_cast<bool>(T::value)  && ...)> > [with V = void; T = {int, float}]’:
t.C:10:52:   required from here
t.C:8:156: internal compiler error: Segmentation fault
 all<std::is_copy_constructible<T>..., mp_all<std::is_copy_assignable<T>...>>>;
                                                                              ^

0x12a3285 crash_signal
        /space/rguenther/src/gcc-slpcost/gcc/toplev.c:324
0x7ffff6ac693f ???
       
/usr/src/debug/glibc-2.22/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xa76272 convert_nontype_argument
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:6652
0xa7b0e7 convert_template_argument
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:7999
0xa7cb25 coerce_template_parms
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:8481
0xa7d198 coerce_innermost_template_parms
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:8603
0xa7f69b lookup_template_class_1
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:9300
0xa81a61 lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int, int)
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:9649
0xa8d8cc tsubst_aggr_type
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:12653
0xa976b7 tsubst(tree_node*, tree_node*, int, tree_node*)
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:14268
0xa890dc tsubst_template_arg
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:11410
0xa8cc10 tsubst_template_args
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:12444
0xa8cb12 tsubst_template_args
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:12434
0xa9903d tsubst(tree_node*, tree_node*, int, tree_node*)
        /space/rguenther/src/gcc-slpcost/gcc/cp/pt.c:14603
...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]