[LLVMbugs] [Bug 1834] New: GCC PCH support is broken when -gdwarf-2 is used

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Nov 29 11:37:05 PST 2007


http://llvm.org/bugs/show_bug.cgi?id=1834

           Summary: GCC PCH support is broken when -gdwarf-2 is used
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: dpatel at apple.com
                CC: llvmbugs at cs.uiuc.edu


Here is simple test case that causes ICE.

--- a.h ---

int foo() {
  return 42;
}
--- a.c ---
#include "a.h"

int main() {
  return foo();
  return 0;
}
---
$ llvm-gcc -gdwarf-2 a.h
$ llvm-gcc -gdwarf-2 a.c -o a.o


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