public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/115591] New: ICE in riscv64-elf cross compiler, handling imported addresses
@ 2024-06-22 13:23 simon at pushface dot org
  2024-06-23 10:38 ` [Bug target/115591] internal error on global variable-length array ebotcazou at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: simon at pushface dot org @ 2024-06-22 13:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115591
           Summary: ICE in riscv64-elf cross compiler, handling imported
                    addresses
           Product: gcc
           Version: 14.1.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 58487
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58487&action=edit
Reproducer

Compiler in use: gnat-riscv64-elf-darwin-14.1.0-3 from
https://github.com/alire-project/GNAT-FSF-builds/releases

Compiling the attached reproducer with riscv64-elf-gcc -c --RTS=. bug.adb
results
in

during RTL pass: expand
+===========================GNAT BUG DETECTED==============================+
| 14.1.0 (riscv64-elf) in tree_to_uhwi, at tree.h:4951                     |
| Error detected around bug.adb:29:24                                      |
| Compiling bug.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).

system.ads
bug.adb
bug.ads
s-stoele.ads
s-stoele.adb
ada.ads
a-unccon.ads


raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:412

Note that
* this error doesn’t happen with an arm-eabi cross compiler
* it was present from GCC 12.2.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-07-02 19:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-22 13:23 [Bug ada/115591] New: ICE in riscv64-elf cross compiler, handling imported addresses simon at pushface dot org
2024-06-23 10:38 ` [Bug target/115591] internal error on global variable-length array ebotcazou at gcc dot gnu.org
2024-06-23 10:47 ` ebotcazou at gcc dot gnu.org
2024-06-23 14:42 ` simon at pushface dot org
2024-06-24 10:54 ` simon at pushface dot org
2024-06-25  9:06 ` ebotcazou at gcc dot gnu.org
2024-07-02 16:56 ` law at gcc dot gnu.org
2024-07-02 17:15 ` ebotcazou at gcc dot gnu.org
2024-07-02 19:19 ` law at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).