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]

Re: Internal compiler error : In instantiation of `FFF<int,char,float>


Alex Vinokur <alexander.vinokur@telrad.co.il> writes:
> Hi,
> 
> Here is a bug report.

[ ... ]
> GNU C++ version egcs-2.91.57 19980901 (egcs-1.1 release)
> (sparc-sun-solaris2.6) compiled by GNU C version egcs-2.91.57 19980901
> (egcs-1.1 release).
> jjj.C: In instantiation of `FFF<int,char,float>':
> jjj.C:82:   instantiated from here
> jjj.C:82: Internal compiler error.
> jjj.C:82: Please submit a full bug report to `egcs-bugs@cygnus.com'.
> 

GCC-2.95 will report, so it'd appear that the bug has been fixed:

xx.cc:86: partial specialization `CCC4<int,S2>' declared `friend'
xx.cc:95: partial specialization `DDD4<T1,S2,S1>' declared `friend'
xx.cc:98: partial specialization `DDD5<S3,S1,S2>' declared `friend'
xx.cc:101: partial specialization `EEE1<T1,T2,S,T3>' declared `friend'
xx.cc: In method `BBB1<T1>::BBB1()':
xx.cc:119: declaration of `class FFF<T1,double,float> T1()'
xx.cc:116:  shadows template parm `class T1'
xx.cc: In method `BBB2<T1>::BBB2()':
xx.cc:125: declaration of `class FFF<T1,double,float> T1()'
xx.cc:122:  shadows template parm `class T1'

Regards,
Mumit


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