[Bug 275] gdc segfaults

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Sat Oct 21 16:00:41 UTC 2017


https://bugzilla.gdcproject.org/show_bug.cgi?id=275

Johannes Pfau <johannespfau at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |johannespfau at gmail.com
         Resolution|---                         |UPSTREAM

--- Comment #2 from Johannes Pfau <johannespfau at gmail.com> ---
This example no longer compiles with a recent frontend / GDC git master:

test.d:4:17: error: array operation tab[] + 1 without destination memory not
allowed
   assert(tab == tab[] + 1);
                 ^

The frontend probably did not validate this code correctly in earlier releases.
I assume this is a reduced test case? It's possible there's a bug in GDC which
will be exposed by the original, non-reduced test.

If you can still reproduce this bug with recent GDC git versions, please reopen
and attach a test case to reproduce the bug with recent GDC versions.

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


More information about the D.gnu mailing list