[LLVMbugs] [Bug 1737] New: bad code with -std=gnu99

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Oct 19 04:54:14 PDT 2007


           Summary: bad code with -std=gnu99
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Compiling the attached file with llvm-gcc-4.0 with "-std=gnu99" results in

test-llvm-99.s: Assembler messages:
test-llvm-99.s:38: Error: symbol `fstat64' is already defined

The problem looks like to be in llvm-gcc. The generated llvm IL contains

define i32 @"\01fstat64"(i32 %__fd, %struct.stat* %__statbuf)
define i32 @fstat64(i32 %__fd, %struct.stat* %__statbuf)

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list