https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117441

            Bug ID: 117441
           Summary: ICE in RTL pass
           Product: gcc
           Version: 14.2.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 59536
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59536&action=edit
Source files (160)

With the attached source files,

   gnatmake -c -u -f -O2 gpr2-build-actions-post_bind.adb

results in

during RTL pass: expand
+===========================GNAT BUG DETECTED==============================+
| 14.2.0 (aarch64-apple-darwin23) in set_parm_rtl, at cfgexpand.cc:1436    |
| No source file position information available                            |
| Compiling
/volumes/miscellaneous3/src/gpr/src/build/gpr2-build-actions-post_bind.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.                                       |
+==========================================================================+
 ...
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:412
gnatmake: "gpr2-build-actions-post_bind.adb" compilation error

The requested files included gnatcoll-os-process_types__unix.ads, which
I've copied to gnatcoll-os-process_types.ads.

With GCC 13.2/3 (both aarch64 and x86_64) I get 
"raised CONSTRAINT_ERROR : erroneous memory access"
with no other report.

I don't have an x86_64-apple-darwin compiler for 14.2.0, but the 13.3.0

Reply via email to