http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50304
--- Comment #4 from Tamas Fenyvesi 2011-09-08
13:16:53 UTC ---
Please find a sample code and its objdump-ed asm in the attachment.
The command line is:
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__USE_CMSIS -D__CODE_RED -I"../cmsis"
-I"../config"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50304
--- Comment #3 from Tamas Fenyvesi 2011-09-08
13:16:20 UTC ---
Created attachment 25226
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25226
-O1..-O3 compiled objdumped result
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50304
--- Comment #2 from Tamas Fenyvesi 2011-09-08
13:14:44 UTC ---
Created attachment 25225
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25225
some testcases
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50304
Bug #: 50304
Summary: poor code for accessing certain element of arrays
Classification: Unclassified
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal