www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11944] New: ICE(expression.c) Assertion `f' failed.

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

           Summary: ICE(expression.c) Assertion `f' failed.
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: redballoon36 gmail.com



PST ---
The error occurs in both 2.064.2 and git master
2b521dde09ca7e09fa71e373a7d13cdddc06dd2d.  Tested on Linux, x86_64.

The full message is:
dmd: expression.c:9330: virtual Expression* AddrExp::semantic(Scope*):
Assertion `f' failed.

The following code causes the assertion failure:

void aFunc(int var)
{
}

void do_command(func, T)(func, T arg)
{
}

auto var = &do_command!aFunc;

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 17 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11944


hsteoh quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical



Confirmed still happens on git HEAD (Linux/64).

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 19 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11944


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
           Platform|x86_64                      |All
         OS/Version|Linux                       |All



https://github.com/D-Programming-Language/dmd/pull/3125

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 20 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11944




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

https://github.com/D-Programming-Language/dmd/commit/5d1237d14eb5b4c1e2a37b875fef5be60f926416
fix Issue 11944 - ICE(expression.c) Assertion `f' failed.

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


Issue 11944 - ICE(expression.c) Assertion `f' failed.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 20 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11944


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yebblies gmail.com
         Resolution|                            |FIXED


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 20 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11944




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

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


Issue 11944 - ICE(expression.c) Assertion `f' failed.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 22 2014