>Confused. EIND could be set once at program start (e.g. to 1) and then left so
>forever but avr-gcc requires EIND = 0?

No. You are mixing two independent answers.

I was just trying to hint a possible reason why the EI stuff was used at all, a 
possible idea which might have been abandoned later.

>
>So the conclusion is to do nothing about it and let things as they are and rely
>on EIND = 0 and if EIND = 1 the user must not blame the compiler?

In my humble unqualified and unimportant opinion, it does not really matter.

As it is now, the EI stuff relies on EIND being permanently 0, thus can be 
replaced by plain IJMP/ICALL. But since that happens, it does not matter what 
is the value of EIND anymore.


Jan


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to