[Issue 20855] segfault when compiling large file

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 22 18:44:17 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20855

moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel at disroot.o
                   |                            |rg

--- Comment #1 from moonlightsentinel at disroot.org ---
Seems to be a stack overflow in the optimizer:

(gdb) run test100k.d
Starting program: generated/linux/debug/64/dmd test100k.d

Program received signal SIGSEGV, Segmentation fault.
0x000000000850d7a7 in optelem(elem*, unsigned int) (e=0xa12eec0, goal=1)
    at /mnt/e/repos/Dlang/forks/dmd/src/dmd/backend/cgelem.d:5226
5226    private elem * optelem(elem *e, goal_t goal)

--


More information about the Digitalmars-d-bugs mailing list