public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/104342] New: ICE with -gnata -fcallgraph-info=su
@ 2022-02-02 12:16 simon at pushface dot org
  2022-03-24  9:05 ` [Bug ada/104342] " ebotcazou at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: simon at pushface dot org @ 2022-02-02 12:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104342
           Summary: ICE with -gnata -fcallgraph-info=su
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: simon at pushface dot org
  Target Milestone: ---

Created attachment 52327
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52327&action=edit
Requested source files

I originally found this error compiling for STM32F4, using both
ravenscar-sfp-stm32f4 and my cortex-gnat-rts equivalent. However, it
also shows up in a native compilation.

Neither option on its own caused a problem.

Compiling from the attached source with

   gnatmake stm32-spi-dma.adb -c -u -f -gnata -fcallgraph-info=su

gives

   gcc -c -gnata -fcallgraph-info=su stm32-spi-dma.adb
     targetname: "+===========================GNAT BUG
DETECTED==============================+
   | 12.0.1 20220128 (experimental) (x86_64-apple-darwin15) Assert_Failure
exp_cg.adb:484|
   | No source file position information available                            |
   | Compiling stm32-spi-dma.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).

   stm32-spi-dma.adb
   stm32-spi-dma.ads
   stm32-spi.ads
   stm32.ads
   hal.ads
   stm32_svd.ads
   stm32_svd-spi.ads
   hal-spi.ads
   stm32-dma.ads
   stm32_svd-dma.ads
   stm32-dma-interrupts.ads

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

end of thread, other threads:[~2024-02-25 21:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-02 12:16 [Bug ada/104342] New: ICE with -gnata -fcallgraph-info=su simon at pushface dot org
2022-03-24  9:05 ` [Bug ada/104342] " ebotcazou at gcc dot gnu.org
2024-02-25 18:11 ` [Bug ada/104342] [14 regression] " simon at pushface dot org
2024-02-25 18:12 ` simon at pushface dot org
2024-02-25 19:28 ` [Bug ada/104342] " ebotcazou at gcc dot gnu.org
2024-02-25 21:02 ` simon at pushface dot org
2024-02-25 21:49 ` ebotcazou 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).