[Bug ada/118712] [13/14/15 regression] segfault on missing body for primitive operator of derived real type

2025-01-31 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118712 --- Comment #2 from Andrew Teylu --- As a note, the code is minimised into "being invalid". Here is a version that compiles without errors with 12.1 but still gives an ICE on 14.2.1: `stub.ads`: ``` package Stub is type GenT is delta 1.0 r

[Bug ada/118712] New: "Storage_Error stack overflow or erroneous memory access" with ranged types

2025-01-31 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118712 Bug ID: 118712 Summary: "Storage_Error stack overflow or erroneous memory access" with ranged types Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity:

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-19 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #10 from Andrew Teylu --- Btw, it isn't that it _never_ works: ``` package LOCAL_IO is function GET_NEXT return Integer; end LOCAL_IO; package body LOCAL_IO is type TEXT_TYPE (LENGTH : Positive := 1) is record null; e

[Bug debug/121157] -gcodeview does not work with Ada

2025-07-20 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #11 from Andrew Teylu --- Ah, no, I think Eric is correct in that it doesn't work at all (even if gcc doesn't fail). I used https://github.com/Microsoft/microsoft-pdb/blob/master/cvdump/cvdump.exe to look at the pdb file generated w

[Bug debug/121157] internal error on Ada's unconstrained array types with -gcodeview

2025-07-18 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #7 from Andrew Teylu --- Yeah, so my reduced file no longer crashes if you use `-fgnat-encodings=all`. Re-reducing Tom's original files while `-fgnat-encodings=all` still gives a crash: ``` package LOCAL_IO is function GET_NEXT

[Bug ada/121162] New: GNAT hang with `-gcodeview -fgnat-encodings=all` (but not just with `-gcodeview`)

2025-07-18 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121162 Bug ID: 121162 Summary: GNAT hang with `-gcodeview -fgnat-encodings=all` (but not just with `-gcodeview`) Product: gcc Version: 15.1.0 Status: UNCONFIRMED Seve

[Bug ada/121163] New: GNAT hang with `-g -gcodeview` (but not with just `-g`)

2025-07-18 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121163 Bug ID: 121163 Summary: GNAT hang with `-g -gcodeview` (but not with just `-g`) Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Pri

[Bug ada/121157] GNAT internal error when using -gcodeview

2025-07-18 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #4 from Andrew Teylu --- As a note, my version of GCC comes from https://github.com/alire-project/GNAT-FSF-builds/releases/tag/gnat-15.1.0-2 ``` Using built-in specs. COLLECT_GCC=Z:\home\avj\gnat-x86_64-windows64-15.1.0-2\bin\gcc.ex

[Bug ada/121157] GNAT internal error when using -gcodeview

2025-07-18 Thread andrew.teylu at vector dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 Andrew Teylu changed: What|Removed |Added CC||andrew.teylu at vector dot com --- Comme