Subject: egcs B20 bug ?
From: [email-masked] (Thoralf Kauk)

10 Nov 1998 19:33:12 -0800
Message-ID: <[email-masked]>
To: [email-masked]

The following code ( figured  from the CGAL-Project) causes an exception in cc1plus

template <class _Data, class _Window> class CGAL_tree_base
{
  typedef CGAL_tree_base<_Data, _Window> tree_base_type;
};

template <class _Data, class _Window> class CGAL_Segment_tree_d
  : public CGAL_tree_base< _Data,  _Window>
{

  struct segment_tree_node {
    tree_base_type *sublayer;
  };
};

int main() { return 0; }

There were no problems with B19 compiler or Linux egcs
The exception produces this output:

[main] D:\cygnus\cygwin-b20\h-i586-cygwin32\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\cc1plus.exe 1002 (0) handle_exceptions: Exception: STATUS_STACK_OVERFLOW

Is there any way to work around ?

Thoralf

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".