[LLVMbugs] [Bug 3179] Code generator incorrectly reordering (or losing) stores

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Dec 9 10:23:13 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=3179


David Chisnall <csdavec at swan.ac.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #7 from David Chisnall <csdavec at swan.ac.uk>  2008-12-09 12:23:11 ---
After more hunting, it appears the bug is caused by clang not NULL-terminating
the class name string, resulting in the class lookup failing and the resulting
0 being propagated upwards.  LLVM is therefore working as expected.  The reason
adding extra code to the function caused it to work is that it, presumably,
moved the alignment of things around so that the class string was followed by a
null byte.


-- 
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