[LLVMbugs] [Bug 94] New: llvm-g++ tries to add bools; gccas complains
bugzilla-daemon at zion.cs.uiuc.edu
bugzilla-daemon at zion.cs.uiuc.edu
Wed Nov 5 16:10:33 PST 2003
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=94
Summary: llvm-g++ tries to add bools; gccas complains
Product: tools
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: llvm-g++
AssignedTo: sabre at nondot.org
ReportedBy: gaeke+bugs at uiuc.edu
While trying to build libstdc++ on Mac OS X/PowerPC:
88 cube> cat locale-inst.ii
extern bool uppercase;
int int_to_char(char *out) {
return out[5 + uppercase];
}
89 cube> /Users/brg/cfrontend/build/gcc/xgcc locale-inst.ii
gccas: /var/tmp//ccnqZQ7C.s:218: Arithmetic operator requires integer or FP operands!
90 cube> /Users/brg/cfrontend/build/gcc/xgcc -S -o - locale-inst.ii | grep 'add bool'
%tmp.3 = add bool %tmp.1, cast (int 5 to bool) ; ty=bool
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list