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


> Date: Tue, 04 Aug 1998 08:01:09 +0200
> From: Thomas Kunert <kunert@physik.tu-dresden.de>
> 
> Gerald Pfeifer wrote:
> > 
> > On Mon, 3 Aug 1998, David Mazieres wrote:
> > > In slightly old versions of egcs 1.1 (sorry, the very tip of the 1.1
> > > branch doesn't compile for me today):
> > >
> > > Reading specs from /usr/local/egcs/lib/gcc-lib/i386-netbsd/egcs-2.91.50/specs
> > > gcc version egcs-2.91.50 19980714 (gcc2 ss-980609 experimental)
> > > Reading specs from /usr/local/egcs/lib/gcc-lib/i386-netbsd/egcs-2.91.47/specs
> > > gcc version egcs-2.91.47 19980708 (gcc2 ss-980609 experimental)
> > 
> > With the most current version egcs-2.91.52 19980803 on
> > i386-unknown-freebsd2.2.6 the internal compiler error still exists.
> 
> That's funny. For me it compiles without error. 
> 
> Reading specs from /opt/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.52/specs
> gcc version egcs-2.91.52 19980729 (gcc2 ss-980609 experimental)

Hmm...  I upgraded egcs, and with a more recent version than yours
still experience the problem:

% ec++ -v
Reading specs from /usr/local/egcs/lib/gcc-lib/i386-netbsd/egcs-2.91.52/specs
gcc version egcs-2.91.52 19980803 (gcc2 ss-980609 experimental)
% ec++ ttinterr.C 
ttinterr.C: In method `int foo<long int>::pub<int>(int)':
ttinterr.C:20:   instantiated from here
ttinterr.C:11: Internal compiler error.
ttinterr.C:11: Please submit a full bug report to `egcs-bugs@cygnus.com'.

I notice you are running linux while the two of us who have
experienced the problem are running some variant of BSD.  Could this
be an a.out format specific bug?  (Sounds unlikely, given the the
problem is probably with templates.)

I guess I will grab the very lates head of the 1.1 branch, and try
this on a linux box myself.  (Also, maybe the bug was temporarily
fixed.  I have run accross at least one other bug that was temporarily
fixed and then broke again.)

David


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