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


--- Comment #0 from Paul O'Neil <redballoon36 gmail.com> 2014-01-17 20:38:26
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


--- Comment #1 from hsteoh quickfur.ath.cx 2014-01-19 08:01:34 PST ---
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


--- Comment #2 from Kenji Hara <k.hara.pg gmail.com> 2014-01-20 03:19:57 PST ---
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



--- Comment #3 from github-bugzilla puremagic.com 2014-01-20 04:14:06 PST ---
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
Merge pull request #3125 from 9rnsr/fix11944

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



--- Comment #4 from github-bugzilla puremagic.com 2014-01-22 18:19:19 PST ---
Commit pushed to release at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d6a5df97319e6ea1b61bf0adf6bddc2b59a34a5b
Merge pull request #3125 from 9rnsr/fix11944

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