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.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a0c:8ec1:: with SMTP id y1mr4664223qvb.11.1615685578703; Sat, 13 Mar 2021 17:32:58 -0800 (PST) X-Received: by 2002:a25:9303:: with SMTP id f3mr30278895ybo.165.1615685578495; Sat, 13 Mar 2021 17:32:58 -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, 13 Mar 2021 17:32:58 -0800 (PST) Injection-Info: google-groups.googlegroups.com; posting-host=194.255.97.108; posting-account=hMbstgoAAAAIa4kxFYtvUVUHbE1RcZzT NNTP-Posting-Host: 194.255.97.108 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <12e10ca5-d23c-40b3-80ea-37367072310cn@googlegroups.com> Subject: Compiler stuck on Big_Integer array initialisation From: Jesper Quorning Injection-Date: Sun, 14 Mar 2021 01:32:58 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61515 List-Id: Hi All CE2020 GNAT on macOS gets stuck on the following code: with Ada.Numerics.Big_Numbers.Big_Integers; use Ada.Numerics.Big_Numbers.Big_Integers; procedure Stuck is A : array (0 .. 9) of Big_Integer := (others => 0); -- Stuck begin null; end Stuck; $ gnatmake -gnat2020 stuck.adb The array initialisation (others =>0) is the problem. When I changed it to (0 => 0, others => 0) it compiles. Is the problem reproducable on Linux and Windows compilers? /Jesper