drmortalwombat / oscar64

Optimizing Small memory C Compiler Assembler and Runtime for C64
GNU General Public License v3.0
273 stars 24 forks source link

core dump #45

Closed polluks closed 9 months ago

polluks commented 9 months ago
#include <include/c128/vdc.h>
int main()
{
vdc_read(void);
}

/home/stefan/g/oscar64/a.c(5, 10) : error 3017: Too many arguments for function call
/home/stefan/g/oscar64/a.c(5, 10) : error 3003: Unimplemented expression
oscar64: ../oscar64/InterCodeGenerator.cpp:1470: InterCodeGenerator::ExValue InterCodeGenerator::TranslateInline(Declaration*, InterCodeProcedure*, InterCodeBasicBlock*&, Expression*, const InterCodeGenerator::BranchTarget&, const InterCodeGenerator::BranchTarget&, InterCodeGenerator::InlineMapper*, bool, InterCodeGenerator::ExValue*): Assertion `wins->mSrc[0].mType != IT_NONE' failed.
Aborted (core dumped)
drmortalwombat commented 9 months ago

Fixed