Thanks. Looks like a pervasive problem. I didn't do quite the detailed exploration the guys on the forum did. However, there seems to be a theme there that it has to do with optimization, and I had optimization turned off. --McD On Thu, 2015-09-03 at 19:43 +0000, alan.b.pearce@stfc.ac.uk wrote: > There has been quite a discussion about this on the microchip forum. >=20 > http://www.microchip.com/forums/m884056.aspx >=20 > >=20 > > I just made a jump in my MPLAB-X version, I was well behind, and decide= d to > > update compilers while I was at it. > >=20 > > A small program that basically just displays some stuff on an LCD more = than > > doubled in size going from v1.23 to v1.25 of XC16. It isn't the IDE; I= can switch > > back and forth between compilers and the code size is still way larger = with > > the newer compiler. > >=20 > > Using the -no-legacy-libc switch changes nothing, not even a single byt= e > > difference. > >=20 > > The only release notes mention of code size is: > >=20 > > "We have made some significant code-size improvements" > >=20 > > Does anyone have any idea what is going on? In my world, more than a 2= ..5X > > increase in code size doesn't count as an "improvement". > >=20 > > Part is a dsPIC33EV256GM102. > >=20 > > I tried a few PIC24 programs and the result was similar. In one case t= he code > > grew to over 4 times its original size. > >=20 > > --McD >=20 --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .