[Issue 10883] [ICE] Internal error: ../ztc/cod4.c 358 when compiling with -inline
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 20 07:32:50 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10883
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice, pull
CC| |yebblies at gmail.com
AssignedTo|nobody at puremagic.com |yebblies at gmail.com
--- Comment #1 from yebblies <yebblies at gmail.com> 2013-11-21 02:32:47 EST ---
The inliner is stupid, and keeps inlining after the unconditional return inside
the foreach (because it's inside a compound statement, inside an unrolled
statement, etc)
This eventually results in var = ("foo", assert(0)) which triggers the assert
in the backend.
https://github.com/D-Programming-Language/dmd/pull/2837
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list