infinite recursion in parser, 1.1.1 prerelease
Andris Pavenis
pavenis@lanet.lv
Tue Nov 10 13:54:00 GMT 1998
On 10 Nov 98, at 16:32, Ewgenij Gawrilow wrote:
>
> Andris wrote:
>
> > I don't see this problem with DJGPP ports of
> > egcs-2.91.57 and 2.91.58. gcc only founds errors
> > in that code.
> > ...
> > t1.cc:4: explicit instantiation of non-template type `A'
> > t1.cc:11: explicit instantiation of non-template type `B'
>
> This shows that different egcs ports have different diseases, but the problem
> remains. Neither are classes `A' and `B' non-template, nor an attempt is made
> to instantiate them.
>
> But this diagnostics awakes a suspection: have you copied the program text from
> the WWW browser window with a mouse? The angle brackets in the template
> statements can get swallowed, which yields a completely different code, really
> looking like an explicit template instantiation.
>
It was really so. After copying source correctly I can reproduce
bug with DJGPP port of egcs-1.1.1-prerelease (it even crashed Win95,
this system is not the best one for debugging similar problems)
Andris
More information about the Gcc-bugs
mailing list