[Bug 235] ICE with array slice assign on 32 bit

via D.gnu d.gnu at puremagic.com
Sat Oct 22 04:50:13 PDT 2016


http://bugzilla.gdcproject.org/show_bug.cgi?id=235

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Looks like something recursive is going on.

---
$ gdc bug235.d -m32 -fdump-tree-original=stdout

;; Function func1 (_D6bug2355func1FZAa)
;; enabled by -tree-original

{
  return <retval> = {.length=0, .ptr=0B};
}

;; Function test1 (_D6bug2355test1FZv)
;; enabled by -tree-original

gdc: internal compiler error: Segmentation fault (program cc1d)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
---

It hangs for a while before the segfault.  Best guess would be stack overflow.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the D.gnu mailing list