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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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.236.170 with SMTP id uv10mr1364237pbc.4.1332525094402; Fri, 23 Mar 2012 10:51:34 -0700 (PDT) Path: kz5ni25076pbc.0!nntp.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: My first compiler bug: work around or redesign? Date: Fri, 23 Mar 2012 18:51:31 +0100 Organization: A noiseless patient Spider Message-ID: <87r4wjw6ho.fsf@ludovic-brenta.org> References: Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="hgT/q35Mth6/0Gt75KzYRQ"; logging-data="2232"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yvDBvHhHuDmry0Mrh08Tc" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:+42hvhKUgv+jrnZFP+RXVkwl4+Q= sha1:wQHbm3co3C6iuU4T39hIzQnuo2g= Content-Type: text/plain; charset=us-ascii Date: 2012-03-23T18:51:31+01:00 List-Id: 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? > So my first question is, would anyone be kind enough to try and > reproduce that bug? The files involved are available individually at > http://fossil.instinctive.eu/dressup/dir?ci=bf54531f8dcf7117 > or as a tarball at > http://fossil.instinctive.eu/dressup/tarball/Dressup-bf54531f8dcf7117.tar.gz?uuid=bf54531f8dcf71174ccb486812b886701222c342 I'll try later if I find the time :/ -- Ludovic Brenta.