------- Comment #4 from ramana at gcc dot gnu dot org  2010-03-16 21:22 -------
This is an invalid use of the naked attribute.


There are a number of places in the main function that you are using the
address of a local variable that has to go on the stack. If you look at the
documentation of the naked attribute it makes this abundantly clear. 

http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
 GCC target triplet|arm-elf                     |arm-elf, arm-eabi
      Known to fail|                            |4.4.3 4.5.0
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43387

Reply via email to