This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch,avr]: Remove -mshort-calls option


Joerg Wunsch wrote:
As Oleg Endo wrote:

I think it's more user friendly to
first warn and then do.

The problem is that this option would better not have existed straight from the beginning. When using it, the compiler is at the risk of generating code that fails to link later, because the relative calls used could not reach the entire address space of the respective processor.

Also notice that this is only about the -mshort-calls option of the avr port, not about similar named options that exist for some other ports.


Johann




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]