www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 175] New: ice while building aaA.d with enable checking

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

           Summary: ice while building aaA.d with enable checking
           Product: GDC
           Version: 0.19
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: braddr puremagic.com
        ReportedBy: braddr puremagic.com


../../../gcc-4.0.2/libphobos/internal/aaA.d: In function '_aaValues':
../../../gcc-4.0.2/libphobos/internal/aaA.d:497: internal compiler error: tree
check: expected parm_decl, have var_decl in get_chain_decl, at
tree-nested.c:321
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

This is with sf svn rev 5.  I'll produce a reduced test case asap.


-- 
Jun 05 2006
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/bugzilla/show_bug.cgi?id=175





------- Comment #1 from braddr puremagic.com  2006-06-06 01:22 -------
The reduced test case:

      1 struct Array { int i; }
      2 Array _aaValues() {
      3     Array a;
      4     void _aaValues_x() { }
      5     return a;
      6 }

The line number is now line 5.  Removing line 4 makes the error go away.


-- 
Jun 05 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/bugzilla/show_bug.cgi?id=175


dvdfrdmn users.sf.net changed:

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




------- Comment #2 from dvdfrdmn users.sf.net  2006-06-08 22:17 -------
Fixed in svn.  GCC 4.0.x patch must be re-applied.


-- 
Jun 08 2006