[LLVMbugs] [Bug 13559] New: clang fails to apply constructor alias optimization
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Aug 8 16:19:11 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13559
Bug #: 13559
Summary: clang fails to apply constructor alias optimization
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
On this testcase:
struct X {
X(int j) : i(j) {}
int i;
};
int main() {
X x(10);
}
$ clang b6940259.cc -flto -S -o - -O3 -mllvm -disable-llvm-optzns
emits a @_ZN1XC1Ei that calls @_ZN1XC2Ei. It should just be an alias.
--
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