Resolved.. It was a helper function that was being called to do a divide. The math routines weren't compiled by me, and weren't compiled with debugging information, so Studio didn't know what was going on apparently.. Also, it was a missed optimization bug. I'd set up to divide by a binary multiple, (32 in this case) so that the compiler using -Os would optimize that into a bit shift. Unfortunately it didn't. I ended up with an explicit shift. That was a fun exercise.
Message
Re: GCC on M32, WIERD happenings.
2009-03-19 by Dave VanHorn