avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Compiler optimisation and volatile variables


From: Willem Jacobus Marais
Subject: [avr-gcc-list] Compiler optimisation and volatile variables
Date: Thu, 02 Feb 2006 17:08:20 +0200

Dear All

Is there a compiler option that prevents the compiler from removing
variables when it optimises the code, rather declaring each variable as
volatile?

I'm using avr-gcc version 3.4.5 with the optimisation option -Os

Thanks in advance
Regards
Willem Marais





reply via email to

[Prev in Thread] Current Thread [Next in Thread]