]> git.sur5r.net Git - cc65/commit
Added special-case compiler code that handles a pointer-to-array dereference.
authorGreg King <gregdk@users.sf.net>
Wed, 1 Jul 2015 10:55:57 +0000 (06:55 -0400)
committerGreg King <gregdk@users.sf.net>
Wed, 1 Jul 2015 10:55:57 +0000 (06:55 -0400)
commit8189339e7d132f388fed6e5ba2265ae0ff789671
treecf425d95d8b87c84b27778fe52361113d13ce450
parent0e6008e9e6dfd312dd6c8f6e4b514728943b6e35
Added special-case compiler code that handles a pointer-to-array dereference.

The type needs to change (to array); but, the address shouldn't be changed -- it already points to the first element.
Based on a bug analysis by Daniel Serpell.
src/cc65/expr.c