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

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

[avr-gcc-list] It is time to come back to 2.95.3?


From: Dmitry K.
Subject: [avr-gcc-list] It is time to come back to 2.95.3?
Date: Sun, 18 Jul 2004 11:40:47 +1100
User-agent: KMail/1.5

See: http://gcc.gnu.org/ml/gcc/2004-07/msg00518.html

Program:

   int foo (void)
   {
       int x=10;
       const int y[1] = {(x + x)};
       x = y[0];
       return y[0];
   }

produce

   foo:
   /* prologue: frame size=0 */
   /* prologue end (size=0) */
        ldi r24,lo8(40)
        ldi r25,hi8(40)
   /* epilogue: frame size=0 */
        ret

with any level of optimization.
3.3.2, 3.3.4 and 3.4.1



reply via email to

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