delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/15/09:07:55

To: djgpp AT delorie DOT com
Message-Id: <AA8rshY0pst@mmf.univ.simbirsk.su>
Mime-Version: 1.0
Organization: Moscow State University Branch in Ulianovsk, MMF
From: akondra AT mmf DOT univ DOT simbirsk DOT su (A.V. Kondratiev)
Date: Thu, 15 May 97 13:42:17 +0400
Subject: problem with inline functions in templates
Lines: 30

May anybody suggest how to work around the following
bug in DJGPP 2.7.2.1:
I wrote several template classes with some inline methods.
The compiler crashes when optimization is enabled (is says
Abort! and nothing more). Everything is OK if -fno-inline
option is turned on (But I'd like my inline members to be
inline - they are small and frequently called).
Are there any known dangerous cases of using inlines which
GCC programmer should avoid?
Or may it be possible to invoke some compiler diagnostic to
locate the code dangerous for the compiler ? It seems that
everything is OK in separate modules but crashes combined
together in the top class.

Aleksey
akondra AT mmf DOT univ DOT simbirsk DOT su

P.S. I'am working under implementation of some methods in
     modern algebra. Theese are Groebner basis construction
     and connected problems.  I'll be happy to find people
     interested  in such problems or, simply, interested in
     such work.

     Now I have a working variant in a fairly stable state.
     It is compiled by DJGPP and freely redistributable. It
     is available by E-mail because, unfortunatelly, I have
     no opportunity to upload it to any site. I'd like
     somebody to do it. E-mail me for details.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019