[Bug target/60084] GCC 4.8.3 miscompiles code on ARM at -Os optimization level

2014-02-05 Thread florin.iu...@hill-rom.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60084 --- Comment #8 from Florin Iucha --- Andrew, You are correct! Sorry, I have missed the lack of 'extern'. I noticed the warning, but did not heed it ;( florin

[Bug target/60084] GCC 4.8.3 miscompiles code on ARM at -Os optimization level

2014-02-05 Thread florin.iu...@hill-rom.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60084 --- Comment #6 from Florin Iucha --- Andrew, Is that a general comment regarding Linaro GCC build, or do you have more specific information about some of their changes that might have an impact on compiling the source code I am referencing in thi

[Bug target/60084] GCC 4.8.3 miscompiles code on ARM at -Os optimization level

2014-02-05 Thread florin.iu...@hill-rom.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60084 --- Comment #5 from Florin Iucha --- Created attachment 32059 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32059&action=edit Preprocessed source file (both 4.7.4 and 4.8.3 produce the same .i file)

[Bug target/60084] GCC 4.8.3 miscompiles code on ARM at -Os optimization level

2014-02-05 Thread florin.iu...@hill-rom.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60084 --- Comment #3 from Florin Iucha --- gcc version 4.7.4 20130913 (release) [ARM/embedded-4_7-branch revision 202601] (GNU Tools for ARM Embedded Processors) generates the same code as 4.7.3

[Bug c/60084] GCC 4.8.3 miscompiles code on ARM at -Os optimization level

2014-02-05 Thread florin.iu...@hill-rom.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60084 --- Comment #2 from Florin Iucha --- Created attachment 32058 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32058&action=edit objdump of binary built with gcc-4.8.3

[Bug c/60084] GCC 4.8.3 miscompiles code on ARM at -Os optimization level

2014-02-05 Thread florin.iu...@hill-rom.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60084 --- Comment #1 from Florin Iucha --- Created attachment 32057 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32057&action=edit objdump of binary built with gcc-4.7.3

[Bug c/60084] New: GCC 4.8.3 miscompiles code on ARM at -Os optimization level

2014-02-05 Thread florin.iu...@hill-rom.com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: florin.iu...@hill-rom.com Using GCC built by Linaro. Source code (ROMCopy.c from CodeWarrior 10.5) CW-MCU-v10.5\MCU\ARM_GCC_Support\ewl\EWL_Runtime\include\arm\ROMCopy.c -8< ---8< ---8