This is quite an old change date 2 years ago. http://gcc.gnu.org/viewcvs?view=revision&revision=136238
Please check the diff done in avr.c file in revision 136238 w.r.t to its previous revision. http://gcc.gnu.org/viewcvs/trunk/gcc/config/avr/avr.c?r1=135953&r2=136238&pathrev=136238 Interrupt specific code has been removed from output_movhi for instructions belonging to prologue and epilogue. Hence the relevant code from output_movhi() [3rd hunk] has been moved to expand_prologue() [1st hunk] and expand_epilogue() [2nd hunk] There is one issue I would like to get clarified. In prologue, conditional check for is_OS_main is happening but not the same in epilogue. expand_prologue() { ... + else if (TARGET_NO_INTERRUPTS + || cfun->machine->is_signal + || cfun->machine->is_OS_main) + { ... expand_epilogue() { ... + else if (TARGET_NO_INTERRUPTS + || cfun->machine->is_signal) + { ... Any quick thoughts on why this is not done? Thanks Anitha _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list