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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-07-06
                 CC|                            |ebotcazou at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW
            Summary|frontend stack overflow on  |wild memory access for
                   |`pragma Warnings (On|Off,   |pragma Warnings (On|Off,
                   |"*");` in -gnatec= config   |"*") in configuration file
                   |pragma file                 |
     Ever confirmed|0                           |1

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Let me guess: is that an LLM-generated pattern?

I cannot reproduce on Linux, but Valgrind does complain:

==39166== Conditional jump or move depends on uninitialised value(s)
==39166==    at 0x137A2F9: sem_ch8__find_direct_name (sem_ch8.adb:6525)
==39166==    by 0x127CA3B: sem__analyze (sem.adb:370)
==39166==    by 0x13E9D51: sem_prag__analyze_pragma (sem_prag.adb:29405)
==39166==    by 0x11F7B69: _ada_frontend (frontend.adb:251)
==39166==    by 0x14B8C35: _ada_gnat1drv (gnat1drv.adb:1161)
==39166==    by 0x1011E4E: gnat_parse_file() (misc.cc:120)
==39166==    by 0x1B7AD89: compile_file() (toplev.cc:455)
==39166==    by 0xFEB82B: do_compile (toplev.cc:2228)
==39166==    by 0xFEB82B: toplev::main(int, char**) (toplev.cc:2396)
==39166==    by 0xFED34A: main (main.cc:39)

Reply via email to