[LLVMbugs] [Bug 16940] No warning and incorrect optimization
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Aug 20 13:31:06 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16940
Eli Friedman <sharparrow1 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |sharparrow1 at yahoo.com
Resolution|--- |LATER
--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> ---
This is how C works with a traditional compiler; each object file is generated
independently, so the tools never notice the prototype of a function doesn't
match.
If you're interested, there are some people experimenting with adding
information to the compiled object file about things like function prototypes,
in the context of checking the C++ ODR rule (which is closely related); I think
there's a recent thread on cfe-dev.
--
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/20130820/f2698d06/attachment.html>
More information about the llvm-bugs
mailing list