comp.lang.ada
 help / color / mirror / Atom feed
From: Mehdi Saada <00120260a@gmail.com>
Subject: Re: "begginner", sorting algorithm.
Date: Sat, 30 Jan 2021 15:54:07 -0800 (PST)	[thread overview]
Message-ID: <2e2d5a1e-d42e-4185-82d3-d8fd94819ac3n@googlegroups.com> (raw)
In-Reply-To: <478ab4aa-3176-4221-a1ca-13151fa5edd2n@googlegroups.com>

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.

  parent reply	other threads:[~2021-01-30 23:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29 14:57 "begginner", sorting algorithm Mehdi Saada
     [not found] ` <7b602137-c6b9-498a-a9e3-e6d98ff26b64n@googlegroups.com>
2021-01-30 11:27   ` Mehdi Saada
     [not found]   ` <478ab4aa-3176-4221-a1ca-13151fa5edd2n@googlegroups.com>
2021-01-30 23:54     ` Mehdi Saada [this message]
2021-02-05 15:56 ` robin
2021-02-05 17:12   ` Mehdi Saada
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox