7667 – ICE(interpret.c): Assertion failure: 'ctfeStack.stackPointer() == 0'

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7667 - ICE(interpret.c): Assertion failure: 'ctfeStack.stackPointer() == 0'
Summary: ICE(interpret.c): Assertion failure: 'ctfeStack.stackPointer() == 0'
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 major
Assignee: No Owner
URL:
Keywords: ice
Depends on:
Blocks:
Reported: 2012年03月07日 15:08 UTC by Nick Sabalausky
Modified: 2012年03月09日 22:12 UTC (History)
1 user (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Nick Sabalausky 2012年03月07日 15:08:39 UTC
-------------------------------------------
string bar(int[] vars...)
{
	return "";
}
class C
{
	this()
	{
		mixin(bar());
	}
}
bool foo()
{
	auto x = new C();
	return true;
}
enum x = foo;
-------------------------------------------
>dmd test.d
Assertion failure: 'ctfeStack.stackPointer() == 0' on line 4823 in file 'interpret.c'
Comment 1 github-bugzilla 2012年03月09日 21:40:55 UTC
Commit pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/fd41876b0ff7af5ef05c75be467e5d8a31d95d4e
Merge pull request #792 from donc/bug7667
Fix issue 7667. ICE(interpret.c): 'ctfeStack.stackPointer() == 0'
Comment 2 github-bugzilla 2012年03月09日 22:12:17 UTC
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/7eed75900a1e4b72c3d8ef3424039892ffe2961f
Fix issue 7667. ICE(interpret.c): 'ctfeStack.stackPointer() == 0'


AltStyle によって変換されたページ (->オリジナル) /