[prev in list] [next in list] [prev in thread] [next in thread]
List: llvm-bugs
Subject: [LLVMbugs] [Bug 68] llvmgcc asserts when compiling functions renamed with asm's
From: bugzilla-daemon () zion ! cs ! uiuc ! edu
Date: 2003-10-29 19:23:49
Message-ID: 200310291923.NAA28178 () zion ! cs ! uiuc ! edu
[Download RAW message or body]
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=68
sabre@nondot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From sabre@nondot.org 2003-10-29 13:23 -------
This is fixed by this patch to the C front-end:
$ diff -u llvm-representation.c-old llvm-representation.c
--- llvm-representation.c-old 2003-10-29 13:19:17.000000000 -0600
+++ llvm-representation.c 2003-10-29 13:19:23.000000000 -0600
@@ -772,10 +772,8 @@
assert(Ty->ID == FunctionTyID && "Function isn't a function type?");
/* If this function got forwarded away, don't print it! */
- if (Fn->ForwardedFunction) {
- assert(isPrototype &&"Cannot forward away from a function implementation!");
+ if (Fn->ForwardedFunction)
return;
- }
if (isPrototype)
fprintf(F, "declare "); /* Function prototype? */
-------------
Tested as test/Regression/CFrontend/2003-10-29-AsmRename.c
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic