ray@ntmtka.mn.org (ray) (02/10/90)
I am having a problem compiling the following source:
main()
{
long x;
double y;
x = -((long) y);
}
The faulty generated assembler code is :
fneg.d((S%1-12).w,%fp),%d0
The %d0 is obviously wrong. This should be a floating poing register.
Does anybody have any ideas where to start looking in the compiler code?
Please use email.
Thanks in advance.
--
Send compilers articles to compilers@esegue.segue.boston.ma.us
{spdcc | ima | lotus}!esegue. Meta-mail to compilers-request@esegue.
Please send responses to the author of the message, not the poster.