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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r182012:

.../cc1plus.182011 -quiet -std=c++98 pr70468.C
pr70468.C: In instantiation of ‘A< <template-parameter-1-1> >::A() [with
<template-parameter-1-1> = S]’:
pr70468.C:22:3:   required from ‘B<T1, T2>& operator<<(B<T1, T2>&, int) [with
T1 = S; T2 = S]’
pr70468.C:26:47:   required from here
pr70468.C:7:21: error: type ‘A<>’ is not a direct base of ‘A<>’
.../cc1plus.182012 -quiet -std=c++98 pr70468.C
pr70468.C: In instantiation of ‘A< <template-parameter-1-1> >::A() [with
<template-parameter-1-1> = S]’:
pr70468.C:22:3:   required from ‘B<T1, T2>& operator<<(B<T1, T2>&, int) [with
T1 = S; T2 = S]’
pr70468.C:26:47:   required from here
pr70468.C:7:21: internal compiler error: in emit_mem_initializers, at
cp/init.c:1020
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to