From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.7 required=3.0 tests=BAYES_20,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS autolearn=no autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:622a:193:: with SMTP id s19mr9765635qtw.366.1612050848255; Sat, 30 Jan 2021 15:54:08 -0800 (PST) X-Received: by 2002:a25:ce8e:: with SMTP id x136mr15710254ybe.173.1612050848062; Sat, 30 Jan 2021 15:54:08 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 30 Jan 2021 15:54:07 -0800 (PST) In-Reply-To: <478ab4aa-3176-4221-a1ca-13151fa5edd2n@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=85.242.255.219; posting-account=rhqvKAoAAABpikMmPHJSZh4400BboHwT NNTP-Posting-Host: 85.242.255.219 References: <7b602137-c6b9-498a-a9e3-e6d98ff26b64n@googlegroups.com> <478ab4aa-3176-4221-a1ca-13151fa5edd2n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2e2d5a1e-d42e-4185-82d3-d8fd94819ac3n@googlegroups.com> Subject: Re: "begginner", sorting algorithm. From: Mehdi Saada <00120260a@gmail.com> Injection-Date: Sat, 30 Jan 2021 23:54:08 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61253 List-Id: Now I have this weird bug report: gprbuild -d -P/home/mehdi/ordonned_arrays_sort.gpr gprbuild -d -P/home/mehdi/ordonned_arrays_sort.gpr Compile [Ada] ordonned_arrays_sort_main.adb +===========================GNAT BUG DETECTED==============================+ | 8.3.0 (x86_64-linux-gnu) in force_constant_size, at gimplify.c:687 | | Error detected around /home/mehdi/src/ordonned_arrays_sort_main.adb:47:16| | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact command that you entered. | | Also include sources listed below. | +==========================================================================+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. Consider also -gnatd.n switch (see debug.adb). /home/mehdi/src/ordonned_arrays_sort_main.adb raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:407 gprbuild: *** compilation phase failed [2021-01-30 23:48:27] process exited with status 4, elapsed time: 01.53s Compile [Ada] ordonned_arrays_sort_main.adb [Exact same GNAT BUG DETECTED as above] [...] Consider also -gnatd.n switch (see debug.adb). /home/mehdi/src/ordonned_arrays_sort_main.adb raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:407 gprbuild: *** compilation phase failed [2021-01-30 23:48:27] process exited with status 4, elapsed time: 01.46s Traceback (most recent call last): File "/usr/share/gps/support/ui/gnattest.py", line 233, in open_harness_filter return os.path.exists(get_harness_project_file(project)) File "/usr/share/gps/support/ui/gnattest.py", line 103, in get_harness_project_file return six.reduce(compare, list, "") AttributeError: 'module' object has no attribute 'reduce' __________________________________ the line mentioned is "index1 := 2;", index1 being Natural. I uninstalled/reinstalled gnat (same version, from debian stable repository) several time. bug stays. but only on this file so far.