Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Ticket #391 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

[regression] Failed assertion when compiling Dil

Reported by: llucax Assigned to: lindquist
Priority: major Milestone:
Component: backend Version: hg tip
Keywords: Cc:


The changeset [1605] has introduced a regression. When compiling Dil I get this failed assertion:

dil$ scripts/ --release --ldc ldc -release -O5 -enable-inlining -od=obj -op -L=-lmpfr (77 source files...) -of=bin/dil foreach (x; n.decls)


ldc: /home/luca/tesis/ldc/gen/statements.cpp:132: virtual void ReturnStatement::toIR(IRState*): Assertion `p->topfunc()->getReturnType() == llvm::Type::getVoidTy(gIR->context())' failed. 0 ldc 0x08a915c8 /home/luca/tesis/ldc

Change History

03/11/10 02:36:30 changed by wilsonk

  • status changed from new to closed.
  • resolution set to fixed.

This should be fixed in changeset 1647. Dil built for me on Linux x86_64 with ldc1647 and tango-0.99.9 (rev. 5401). I used rebuild and not, but that shouldn't make a big difference.

Thanks, K.Wilson

Copyright © 2008, LDC Development Team.