public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* static variable in .C file kills egcs
@ 1998-09-12  2:25 dwhitney
  1998-09-12  8:36 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: dwhitney @ 1998-09-12  2:25 UTC (permalink / raw)
  To: egcs-bugs

 localhost.dwhitney> g++ -v
Reading specs from /opt/egcs/lib/gcc-lib/powerpc-unknown-linux-gnulibc1/egcs-2.90.25/specs
gcc version egcs-2.90.25 980302 (egcs-1.0.2 prerelease)


The following static varaible, defined with file scope caused egcs to
have a "Internal compiler error".

#include "trackball.h"
#include "gesture.h"
#include "Command.h"	// for archive (should this really be done here? DJW)

#include <glu.h>

TrackBall trackball(0.8);


VwtHuman::VwtHuman(envlist *top)
    : human( (head_tracker_dimension()==2), (hand_tracker_dimension()==2) ),
      touchingobj(NULL)
{
 

----

The error is on the Trackball declaration line.  The program is obvisouly
much huger, but maybe this can give you can idea.

-Dave

dwhitney@cs.stanford.edu



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: static variable in .C file kills egcs
  1998-09-12  2:25 static variable in .C file kills egcs dwhitney
@ 1998-09-12  8:36 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 1998-09-12  8:36 UTC (permalink / raw)
  To: dwhitney; +Cc: egcs-bugs

dwhitney  <dwhitney@localhost.localdomain> writes:

> The following static varaible, defined with file scope caused egcs to
> have a "Internal compiler error".

> The error is on the Trackball declaration line.  The program is obvisouly
> much huger, but maybe this can give you can idea.

It does not.  Please follow the steps for submitting bug reports I've
written in my previous message to you.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-09-12  8:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-12  2:25 static variable in .C file kills egcs dwhitney
1998-09-12  8:36 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).