Bug 8524 – Phobos cannot be compiled with -inline

Status
RESOLVED
Resolution
WORKSFORME
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-08-08T13:04:00Z
Last change time
2013-10-10T16:25:32Z
Keywords
ice
Assigned to
nobody
Creator
issues.dlang

Comments

Comment #0 by issues.dlang — 2012-08-08T13:04:05Z
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 by eco — 2013-06-22T15:50:31Z
Seems to be working fine on HEAD (pre 2.064, Windows x86).