[LLVMbugs] [Bug 2268] New: void<unnamed>::FPS::handleSpecialFP(llvm::ilist_iterator< llvm::MachineInstr>&): Assertion `StackTop == 1 && " Stack should have one element on it to return!"' failed
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Apr 30 12:28:23 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2268
Summary: void<unnamed>::FPS::handleSpecialFP(llvm::ilist_iterator
<llvm::MachineInstr>&): Assertion `StackTop == 1 &&
"Stack should have one element on it to return!"' failed
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1611)
--> (http://llvm.org/bugs/attachment.cgi?id=1611)
testcase
While building glibc I get:
cc1: /home/edwin/llvm/llvm-svn/trunk/lib/Target/X86/X86FloatingPoint.cpp:975:
void<unnamed>::FPS::handleSpecialFP(llvm::ilist_iterator<llvm::MachineInstr>&):
Assertion `StackTop == 1 && "Stack should have one element on it to return!"'
failed.
../sysdeps/ieee754/dbl-64/e_j0.c:529: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[2]: *** [/home/edwin/glibc-2.7/build-tree/i386-libc/math/e_j0.o] Error 1
To reproduce:
$ llvm-gcc -c -O1 testcase-min.i
cc1: /home/edwin/llvm/llvm-svn/trunk/lib/Target/X86/X86FloatingPoint.cpp:975:
void<unnamed>::FPS::handleSpecialFP(llvm::ilist_iterator<llvm::MachineInstr>&):
Assertion `StackTop == 1 && "Stack should have one element on it to return!"'
failed.
testcase-min.i:53: internal compiler error: Aborted
This error occurs 27 times during the glibc build
$ grep "Stack should have one element on it to return" ../../i386-libc/log|wc
-l
27
I was able to build these files with an older llvm revision a while ago.
I am unable to reproduce this by generating llvm bitcode (does llvm-gcc run
another pass that is not in -std-compile-opts?)
These both work:
$ llvm-gcc -O1 testcase-min.i -c -emit-llvm -o -|opt -std-compile-opts|llc|as
$ llvm-gcc -O1 testcase-min.i -c -emit-llvm -o -|llc|as
$ uname -a
Linux thunder 2.6.25-rc6-00268-gd2532dd-dirty #23 SMP PREEMPT Sun Mar 23
18:34:55 EET 2008 i686 GNU/Linux
--
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