This is the mail archive of the gcc-help@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: double argument casting


When I compile with the new versions of GCC, my code size is reduced
thanks to the various contribution done in GCC.

Concerning the double casting, I have replayed the example from Jorge. I
have notice no modification. The double casting is always active.

  Salutations,

  Laurent





On 25/10/2010 18:47, Eric Botcazou wrote:
>> If the casting is done in the callee function (and not in the caller
>> function), my program is reduced by 5%.
>>
>> I think that all the users compiling with -Os option will be please to
>> implement the casting inside the callee function.
>>     
> Make sure to test with a recent compiler (GCC 4.5.x preferably), things may 
> have improved in this area.
>
>   


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