www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 1296] New: ICE when object.d is missing things

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1296

           Summary: ICE when object.d is missing things
           Product: DGCC aka GDC
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn users.sf.net
        ReportedBy: madou madou.org


cc1d segfaults when trying to compile an object.d source file that's missing
certain things, instead of giving a an error message. An object.d file
containing only an empty Object class is the simplest test case that reproduces
the error.


--------- object.d ---------

class Object
{
}

----------------------------


Program received signal SIGSEGV, Segmentation fault.
0x000000000047c682 in ClassDeclaration::toSymbol (this=0xd44710) at
../../gcc/d/d-decls.cc:677
677             decl = build_decl( VAR_DECL, get_identifier( csym->Sident ),


This is the stack trace:


../../gcc/d/d-decls.cc:677

../../gcc/d/dmd/toobj.c:376

../../gcc/d/d-glue.cc:2614


../../gcc/toplev.c:991




-- 
Jun 28 2007
parent reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1296


Iain Buclaw <ibuclaw ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



Fixed in hg commit 172 / release 0.25

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 07 2010
parent Leandro Lucarella <luca llucax.com.ar> writes:
d-bugmail puremagic.com, el  7 de agosto a las 23:52 me escribiste:
 http://d.puremagic.com/issues/show_bug.cgi?id=1296
 
 
 Iain Buclaw <ibuclaw ubuntu.com> changed:
 
            What    |Removed                     |Added
 ----------------------------------------------------------------------------
              Status|NEW                         |RESOLVED
          Resolution|                            |FIXED
 
 

---
 Fixed in hg commit 172 / release 0.25
Hey, thanks a lot for giving gdc some love lately! Keep up the good work! :) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Hey, it's George. I got nothing to say. -- George Constanza, dejando un mensaje en la contestadora de Jerry
Aug 07 2010