This is the mail archive of the gcc-patches@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: gcc-2.95 interal compiler error (templates again)


On Jul 15, 1999, Paul Burchard <burchard@pobox.com> wrote:

> generates an "interal compiler error" with the latest gcc-2.95 snapshot.

Thanks, I'm installing the following simplified version of your bug
report:

// Build don't link:

// Copyright (C) 1999 Free Software Foundation

// by Alexandre Oliva <oliva@dcc.unicamp.br>
// simplified from bug report by Paul Burchard <burchard@pobox.com>

// crash test - XFAIL *-*-*

template<class> struct A {};
template<template<class> class T> struct B {
  B() {
    T<B>();
  }
};
B<A> foo;

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

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