[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


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:

Testcase here:

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. :)


------- 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