[LLVMbugs] [Bug 14077] New: [ARM][regression] incorrect struct initialisation when NEON enabled
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Oct 12 15:06:12 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=14077
Bug #: 14077
Summary: [ARM][regression] incorrect struct initialisation when
NEON enabled
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: mans at mansr.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9341
--> http://llvm.org/bugs/attachment.cgi?id=9341
C test case
The attached C code, when compiled at -O2 or higher, results in incorrect
initialisation of a struct residing on the stack.
The function av_expr_eval() is inlined into the (unrolled) loop in main() at
line 89. Here, the second iteration sets the non-zero members and _afterwards_
zeros the whole struct (line 123 in the assembly listing).
I bisected this to r163299 "Add a new optimization pass: Stack Coloring".
Reverting this commit makes the problem go away.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list