[LLVMbugs] [Bug 244] NEW: llvm-gcc miscompiles when a function is re-declared as static

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Feb 17 09:33:11 PST 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=244

           Summary: llvm-gcc miscompiles when a function is re-declared as
                    static
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: sabre at nondot.org
        ReportedBy: criswell at uiuc.edu


The attached code produces a warning with GCC but otherwise produces a single
function defintion.

With LLVM GCC, the attached code generates one function declaration (but no
function definition) and one internal function (which is defined).



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