[LLVMbugs] [Bug 24130] New: missing comdat at -O1
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jul 15 06:30:02 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24130
Bug ID: 24130
Summary: missing comdat at -O1
Product: new-bugs
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: geek4civic at gmail.com, llvmbugs at cs.uiuc.edu,
peter at pcc.me.uk
Classification: Unclassified
Given
struct A {
virtual ~A();
};
struct B {
virtual void foo();
};
struct C : public A, public B {
void foo() {}
};
struct D : public C {
~D();
};
D::~D() {}
We produce
define linkonce_odr void @_ZThn8_N1C3fooEv(%struct.C* %this) unnamed_addr #0
comdat align 2 {
at -O0 and
define linkonce_odr void @_ZThn8_N1C3fooEv(%struct.C* nocapture %this)
unnamed_addr #3 align 2 {
at -O1
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150715/721ec21e/attachment.html>
More information about the llvm-bugs
mailing list