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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Problem with Position of the enumeration Type Date: Thu, 24 Jan 2019 09:11:20 +0000 Organization: A noiseless patient Spider Message-ID: References: <3d782720-227d-4d86-b403-eacbd1b9d0d2@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="15a0f12c25854c3cd136ed2b90eb358f"; logging-data="4853"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RgQWnAfU0/xUglsJtF5r4o+rKSfuS3AE=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:zmpN8PUPV64s29JlRXrkBKhD4fI= sha1:QI7ar/SzAH0j5kkpBMv3y7rt/Gs= Xref: reader01.eternal-september.org comp.lang.ada:55358 Date: 2019-01-24T09:11:20+00:00 List-Id: Keith Thompson writes: > GNAT 7.30 has a bug in its implementation of the 'Enum_Val attribute. > In some cases, it appears to examine only the low-order bits of the > argument, causing it to yield a valid value when it should raise > Constraint_Error. Same error in FSF GCC 8.1.0, 9.0.0. > I'll also report this via https://www.adacore.com/community/contact Better to , I think