D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 8524 - Phobos cannot be compiled with -inline
Summary: Phobos cannot be compiled with -inline
Status: RESOLVED WORKSFORME
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-08-08 13:04 UTC by Jonathan M Davis
Modified: 2013-10-10 16:25 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Jonathan M Davis 2012-08-08 13:04:05 UTC
If I change Phobos to be build with -O -release -inline for the release build, it fails to build with this error:

std/file.d(2777): Error: function std.file.dirEntries compiler error, parameter 'pattern', bugzilla 2962?
dmd: glue.c:758: virtual void FuncDeclaration::toObjFile(int): Assertion `0' failed.
make[1]: *** [generated/linux/release/64/libphobos2.a] Aborted
make: *** [unittest] Error 2

This may or may not be related to bug# 8250.
Comment 1 Brad Anderson 2013-06-22 15:50:31 UTC
Seems to be working fine on HEAD (pre 2.064, Windows x86).