[Bug target/54517] New: wrong inlining of builtin_shuffle on ARM/big-endian
christophe.lyon at st dot com
gcc-bugzilla@gcc.gnu.org
Fri Sep 7 12:10:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54517
Bug #: 54517
Summary: wrong inlining of builtin_shuffle on ARM/big-endian
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: christophe.lyon@st.com
Created attachment 28146
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28146
testcase
As exposed by the attached sample code, GCC for ARM/big-endian produces
incorrect code when inlining functions performing builtin_shuffle.
Compile the attached program at -O2 with GCC configured for
armeb-none-linux-gnueabi) and execute it with qemu-armeb, it should be OK.
Then edit the source code such that NOINLINE now expands into the empty string:
#define NOINLINE, re-compile & execute: the code aborts.
More information about the Gcc-bugs
mailing list