Internal compiler error with typedef

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Thu Apr 9 15:01:00 GMT 1998


On 6 Mar 1998, Robert Bihlmeyer wrote:
> #include <vector>
> 
> template <class T>
> class C {
>     typedef /*typename*/ vector<T>::iterator iterator;
>     };
> 
> void f(const C<int>&);
> 
> void g() {
>     f(0);
>     }
> // end of test.C

I just checked and I'm happy to report that the current CVS snapshot
does not exhibit an internal compiler error any more here.

Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/




More information about the Gcc-bugs mailing list