www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6451] New: ICE(expression.c:4434): SymbolExp::SymbolExp(Loc, TOK, int, Declaration*, int): Assertion `var' failed.

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

           Summary: ICE(expression.c:4434): SymbolExp::SymbolExp(Loc, TOK,
                    int, Declaration*, int): Assertion `var' failed.
           Product: D
           Version: D1 & D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: robert octarineparrot.com



20:08:53 BST ---
The following code:
----
void error(...){}
----
Causes dmd 2.054 to ICE with the following errors:
----
Log.d(1): Error: '__va_argsave_t' is not defined, perhaps you need to import
core.vararg; ?
Log.d(1): Error: function Log.error must import core.vararg to use variadic
functions
dmd: expression.c:4434: SymbolExp::SymbolExp(Loc, TOK, int, Declaration*, int):
Assertion `var' failed.
Aborted
----
On linux x86_64.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 07 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6451




20:09:56 BST ---
Note that if you add the import as suggested by the error, the ICE goes away.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 07 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6451


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug yahoo.com.au
            Summary|ICE(expression.c:4434):     |[64bit]
                   |SymbolExp::SymbolExp(Loc,   |ICE(expression.c:4434):
                   |TOK, int, Declaration*,     |SymbolExp::SymbolExp(Loc,
                   |int): Assertion `var'       |TOK, int, Declaration*,
                   |failed.                     |int): Assertion `var'
                   |                            |failed.



Works on Windows 32 bit. I assume this is 64 bit only, where varargs are done
differently.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 27 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6451




11:09:08 GMT ---
Definitely a 64bit issue, works on OS X 32, not on OS X 64 (same assertion)
using dmd 2.057.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 28 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6451


Robert Clipsham <robert octarineparrot.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch



13:15:11 GMT ---
https://github.com/D-Programming-Language/dmd/pull/655

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 29 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6451




Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/28c551f3c3675f5b2ade26fe23f513f73085c4a2
Fix bug 6451 - [64bit] ICE(expression.c:4434): SymbolExp::SymbolExp(Loc, TOK,
int, Declaration*, int): Assertion `var' failed.

https://github.com/D-Programming-Language/dmd/commit/425a97c9e9fa20985ed8767109aacc61517c017e


Fix bug 6451

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 29 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6451




Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/3bfdbc8fbf58a12357469d1e81a9b224a1754bd8
fix issue 6451

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 29 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6451


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 29 2012