First Last Prev Next    No search results available
Details
: [llvmgcc] Crash on auto register variable with specific r...
Bug#: 297
: tools
: llvm-gcc
Status: RESOLVED
Resolution: FIXED
: All
: All
: 1.0
: P2
: normal
: 1.2

:
: compile-fail
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Chris Lattner <sabre@nondot.org>
Assigned To: Unassigned LLVM Bugs <unassignedbugs@nondot.org>

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2004-03-16 03:28
This testcase crashes the C front-end.  Though we don't support stuff like this,
we shouldn't CRASH on it:

---
int foo() {
  register int X __asm__("ebx");
  return X;
}
---

-Chris
------- Comment #1 From Chris Lattner 2004-03-16 15:54:28 -------
Fixed.  Patch here:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040315/013200.html

Testcase here:
test/Regression/CFrontend/2004-03-16-AsmRegisterCrash.c

-Chris

First Last Prev Next    No search results available