May 30, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=162

           Summary: Compiler crashes with valid code when -g is passed in
                    the command line
           Product: GDC
           Version: 0.18
          Platform: Macintosh
               URL: Internal compiler error with nested functions
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn@users.sf.net
        ReportedBy: csantander619@gmail.com


//----------------
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.


-- 

May 30, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=162


csantander619@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|Internal compiler error with|
                   |nested functions            |
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE
            Summary|Compiler crashes with valid |Internal compiler error with
                   |code when -g is passed in   |nested functions
                   |the command line            |




------- Comment #1 from csantander619@gmail.com  2006-05-30 06:53 -------
sorry for the double post...

*** This bug has been marked as a duplicate of 163 ***


--