[LLVMbugs] [Bug 244] [llvm-gcc] miscompilation when a function is re-declared as static
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Feb 20 09:37:40 PST 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=244
sabre at nondot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Summary|llvm-gcc miscompiles when a |[llvm-gcc] miscompilation
|function is re-declared as |when a function is re-
|static |declared as static
------- Additional Comments From sabre at nondot.org 2004-02-20 11:37 -------
Fixed. Here's the (one token) patch:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040216/011969.html
Testcase here:
test/Regression/CFrontend/2004-02-20-StaticRedeclare.c.tr
It turns out that the second "bad case" that I included in this bug is actually
erroneous C code, so it's not a suprise we don't handle it. :)
-Chris
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list