From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a589e934282bf3d5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news3.google.com!feeder.news-service.com!news.netcologne.de!ramfeed1.netcologne.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: ANN: Simple components for Ada v3.9 Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <177tljo9yd2wc$.iq67ky4xvjrg$.dlg@40tude.net> <1qyb3t69th9fx.1xxao6etfmeuf.dlg@40tude.net> Date: Tue, 13 Jul 2010 21:55:23 +0200 Message-ID: <1xxnl8zxlrls9$.1tl9y8itzni93.dlg@40tude.net> NNTP-Posting-Date: 13 Jul 2010 21:55:23 CEST NNTP-Posting-Host: 359b80c2.newsspool1.arcor-online.net X-Trace: DXC=fYT4W]8;9=c]BlmkiiU@Biic==]BZ:afn4Fo<]lROoRa<`=YMgDjhgbL8lJ>3=`J`c[6LHn;2LCVn[ On Tue, 13 Jul 2010 20:20:00 +0100, Simon Wright wrote: > "Dmitry A. Kazakov" writes: > >> On Tue, 13 Jul 2010 05:45:11 -0700 (PDT), Ludovic Brenta wrote: > >>>> P.S. In any case in order to use the persistent layer of Simple Components, >>>> the gcc 4.4 must be fixed first. The current version has controlled types >>>> broken and some other severe issues. >>> >>> Wow, that's a pretty grave problem; if what you say is true, a fix in >>> the stable GCC 4.4 branch is justified. What is the bugzilla number >>> for this bug? >> >> There are several. For example this one: > > With GCC 4.5.0 and with GNAT GPL 2010 (both on Mac OS X Snow Leopard) > this program produces > > $ ./controlled_array > Count 1 > Successful finalization > Successful finalization > Successful finalization This is how it should be. Debian's or Fedora's gcc 4.4 spits: Count 2 Illegal count in finalization 1 raised PROGRAM_ERROR : adjust/finalize raised PROGRAM_ERROR: controlled_array.adb:18 explicit raise -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de