← Back to index
|
Original Bugzilla link
Bug 162 – Internal compiler error with nested functions
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
PowerPC
OS
Linux
Creation time
2006-05-30T06:48:00Z
Last change time
2015-06-09T01:31:17Z
Assigned to
dvdfrdmn
Creator
casantander1
Comments
Comment #0
by casantander1 — 2006-05-30T06:48:36Z
//---------------- class Foo { void bar (void * src) { void baz (void function (void *, uint) xyz) { uint foo (void [] dst) { uint len = dst.length; dst [0 .. len] = src [0 .. len]; xyz (dst, len); return len; } } } } //---------------- $ gdc -c -g test.d test.d: En la función ‘foo’: test.d:13: error interno del compilador: Violación de segmento Por favor envíe un reporte completo de bichos, con el código preprocesado si es apropiado. Vea <URL:
http://gcc.gnu.org/bugs.html
> para más instrucciones.
Comment #1
by casantander1 — 2006-05-30T06:53:08Z
sorry for the double post... *** This bug has been marked as a duplicate of 163 ***