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 Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!news.snarked.org!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: GNAT stuck, any idea on how to diagnose it? Date: Mon, 15 Sep 2014 09:15:08 +0200 Organization: cbb software GmbH Message-ID: References: <12b0f080-6063-4d56-b3f5-c7c9375cac49@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: yj8+JIQUMOEawvIM7K49kA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.dca.giganews.com comp.lang.ada:189007 Date: 2014-09-15T09:15:08+02:00 List-Id: On Sun, 14 Sep 2014 15:56:35 -0700 (PDT), Anh Vo wrote: > On Sunday, September 14, 2014 2:47:47 PM UTC-7, Natasha Kerensikova wrote: >> Hello, >> >> On 2014-09-14, Brad Moore wrote: >>> On 2014-09-14 8:49 AM, Dmitry A. Kazakov wrote: >>>> On Sun, 14 Sep 2014 09:21:18 +0000 (UTC), Natasha Kerensikova wrote: >> >> Now a secondary question would be, how long is it reasonable to let GNAT >> run before assuming it won't terminate ever? > > It depends on size of the code in question. For normal case if gnat1 > occupies close to 99% CPU in 30 seconds or more, that means the compiler > runs away. I would submit a bug report. I would say 1 hour for the compiler and 1/2 for the linker (which could be very slow too). -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de