https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118782
Bug ID: 118782 Summary: Internal compiler error with -gnatyc Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: simon at pushface dot org CC: dkm at gcc dot gnu.org Target Milestone: --- Created attachment 60410 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60410&action=edit Demonstrator Running on macOS Sequoia 15.3 with Command Line Tools 16.2. In the attached demo, $ gnatmake -c -u -f -gnatyc cvars.adb frequently results in gcc -c -gnatyc cvars.adb +===========================GNAT BUG DETECTED==============================+ | 15.0.1 20250126 (experimental) (x86_64-apple-darwin23) Constraint_Error erroneous memory access| | Error detected at cvars.adb:9:5 | | Compiling cvars.adb | | 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). cvars.adb cvars.adb:1:04: (style) space required [-gnatyt] compilation abandoned gnatmake: "cvars.adb" compilation error Same with gcc 14.2.0/aarch64-apple-darwin23.