Quote: We are using Microchip MPLAB 7.30 and Hi-Tech PICC18 compiler
Then this question should have been posted in the PICmicro forum, not here. It is not a General Programming question.
Quote: We feel that the optimization option provided in the IDE is not working. Even though we enable or disable optimization with the highest level (9), no changes in the flash code size / RAM size is seen.
Our compilers before version 9 defaulted to no optimization, and our existing MPLAB plugin only adds an optimization option to the command line it generates when optimization is turned on.
Our version 9 compilers default to full optimization. To disable optimization you must explicitly add the command line option --opt=none. You normally do not want to do this - it is generally only useful if you believe you have encountered a bug in the optimizer.
A new MPLAB plugin is in development and will be available soon if all goes well.
-------------------- Mark Pappin - HI-TECH Software