Closed TheFausap closed 10 years ago
I thought I had fixed this bug and can't seem to reproduce it on my machine. The code generator is in your case mistakenly appending Lisp's d0 prefix to double constants.
I pushed a new version to the master. Could you do a git pull, ./bootstrap.sh, ./mcc < w3.mc again and see if you get the same error? If so, please pass me your mccompiled.C.
now it's all ok. also the result is correct, before was all zeros. thanks a lot!
Hello,
I'm trying to compile the mcc output of w3.mc example, but I have this error:
g++ -O2 -I/home/fausap/tbb/include -c -I/usr/local/include -o mccompiled.o mccompiled.C mccompiled.C:166:49: error: invalid suffix "d0" on floating constant mccompiled.C:167:51: error: invalid suffix "d0" on floating constant mccompiled.C:168:51: error: invalid suffix "d0" on floating constant mccompiled.C:171:56: error: invalid suffix "d0" on floating constant mccompiled.C:172:57: error: invalid suffix "d0" on floating constant mccompiled.C:210:53: error: invalid suffix "d0" on floating constant mccompiled.C:212:48: error: invalid suffix "d0" on floating constant
I'm using Scientific Linux 6.5 (x86_64) with gcc 4.4.7 and sbcl 1.2.3 to generate mcc compiler.
thanks, Fausto