From: David A. Lyons <address@hidden>
To: Parthasaradhi Nayani <address@hidden>
Cc: "address@hidden" <address@hidden>
Sent: Monday, March 19, 2012 5:46 AM
Subject: Re: [avr-gcc-list] Peculiar code size problem
The smaller size might be making the compiler decide to inline the function at some call sites where it didn't before. You could experiment with "-fno-inline-small-functions" (compiler option) and/or "__attribute__((noinline))" on your function declaration:
void pulse_en (void) __attribute__((noinline));
void pulse_en (void)
{
...
}
Cheers,
--Dave