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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bdebc54a485c13a4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.129.169 with SMTP id nx9mr12449735pbb.2.1332537640429; Fri, 23 Mar 2012 14:20:40 -0700 (PDT) Path: kz5ni25680pbc.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Natasha Kerensikova Newsgroups: comp.lang.ada Subject: Re: My first compiler bug: work around or redesign? Date: Fri, 23 Mar 2012 21:20:39 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <87r4wjw6ho.fsf@ludovic-brenta.org> Mime-Version: 1.0 Injection-Date: Fri, 23 Mar 2012 21:20:39 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="Mda950WjNwNLAFOE7yJXQw"; logging-data="13540"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19boferpwlht94yJXL7RXwS" User-Agent: slrn/0.9.9p1 (FreeBSD) Cancel-Lock: sha1:fbSv7B8yxx/kClue+P9/0dMkTqU= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: 2012-03-23T21:20:39+00:00 List-Id: On 2012-03-23, Ludovic Brenta wrote: > Natasha Kerensikova writes: > >> Hello, >> >> I happen to have encountered my very first compiler bug, or at least >> something that claims to be in the following message: >> >> +===========================GNAT BUG DETECTED==============================+ >> | 4.6.2 20111026 (release) -=> GNAT AUX [FreeBSD64] (x86_64-aux-freebsd9.0) GCC error:| >> | in gnat_to_gnu_entity, at ada/gcc-interface/decl.c:4134 | >> | Error detected at dressup-parsers-markdown.adb:184:4 [dressup-parsers-markdown.adb:1651:7 [markdown.adb:32:4]]| > > This seems similar to http://gcc.gnu.org/PR43806, the workaround for > which is not to use -gnatE. Were you compiling with -gnatE? No, there is no gnatE in my gpr file. I haven't seen any way of overriding it should it be somehow on by default. I do have -gnateE though, but as far as I can tell it's completely unrelated. Just as a double-check, I tried compling with -gnatE and/or without -gnateE, but it did not change anything in the compiler output. Thanks for your help, Natasha