[LLVMbugs] [Bug 137] [llvmg++] Code is generated for empty classes
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Jun 1 20:47:04 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=137
Chris Lattner <clattner at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #9 from Chris Lattner <clattner at apple.com> 2009-06-01 22:47:03 ---
We still generate useless code, but I think this is a failing of g++, and we're
not going to fix it. For example, at -O0 this generates a useless i8 store:
struct x {};
void foo(x *P) {
*P = x();
}
Closing as fixed.
--
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