On Tue, May 25, 1999 at 04:42:53PM -0700, William Chops Westfield wrote: > A compiler that runs it optimizer over inlined ASM code is BROKEN!!!! I used to think that, too. We've tried it both ways; some of our compilers don't touch in-line assembler at all, but the PIC and some others do look at it. There are some drawbacks either way, but in general we've been happy with optimizing the user code. OF course, you have to do it right! The issue that started this thread illustrated a bug, so the optimizer *was* broken. I.e. A compiler that runs its optimizer over inlined ASM code *and changes the meaning* is BROKEN!!!! What really puzzles me is why Bob posted this list asking for a work-around instead of emailing us and asking for a *fix*! Quite often we find people have worked-around bugs rather than telling us, I really don't know why. Regards, Clyde -- Clyde Smith-Stubbs | HI-TECH Software Email: clyde@htsoft.com | Phone Fax WWW: http://www.htsoft.com/ | USA: (408) 490 2885 (408) 490 2885 PGP: finger clyde@htsoft.com | AUS: +61 7 3355 8333 +61 7 3355 8334 --------------------------------------------------------------------------- HI-TECH C: compiling the real world.