[cc65] "Code generation messed up"

From: Oliver Schmidt <ol.sc1web.de>
Date: 2013-10-05 21:03:59

The code

  void foo(void)
    int i;
    long l = 1L * i;

triggers an

  Internal compiler error:
  Code generation messed up: StackPtr is -4, should be -2

but when changing the assignment to

  long l = i * 1L;

things seem to work fine.

To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Oct 5 21:04:09 2013

This archive was generated by hypermail 2.1.8 : 2013-10-05 21:04:11 CEST