[llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Reid Spencer
All, Please apply this patch to llvm-gcc r247. It adjusts llvm-gcc for recent changes in LLVM related to the BoolTy. BoolTy-Int1Ty ConstantBool-ConstantInt ConstantIntegral-ConstantInt Reid Index: gcc/llvm-backend.cpp === ---

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Jim Laskey
Applied to tree. Cheers, -- Jim On 11-Jan-07, at 2:24 PM, Reid Spencer wrote: All, Please apply this patch to llvm-gcc r247. It adjusts llvm-gcc for recent changes in LLVM related to the BoolTy. BoolTy-Int1Ty ConstantBool-ConstantInt ConstantIntegral-ConstantInt

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Jeff Cohen
The patch doesn't work: g++40 -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wno-variadic-macros -fno-common -DHAVE_CONFIG_H -Wno-unused -DTARGET_NAME=\amd64-unknown-freebsd6.1\ -DENABLE_LLVM -D__STDC_LIMIT_MACROS -I. -I. -I../../gcc -I../../gcc/.

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Jeff Cohen
OK, so I figured I need to update LLVM. Now that doesn't build: llvm[2]: Compiling Lexer.cpp for Debug build Lexer.cpp: In function 'int llvmAsmlex()': Lexer.cpp:1244: error: label 'find_rule' used but not defined gmake[2]: *** [/usr/home/jeffc/llvm/obj/lib/AsmParser/Debug/Lexer.o] Error 1 I

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Reid Spencer
You need to update your LLVM tree. I just committed the BoolTy-Int1Ty change and the patch handles that change as well. Reid. On Thu, 2007-01-11 at 12:24 -0800, Jeff Cohen wrote: The patch doesn't work: g++40 -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -pedantic -Wno-long-long

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Jeff Cohen
See my previous message. I updated, and LLVM no longer builds. Reid Spencer wrote: You need to update your LLVM tree. I just committed the BoolTy-Int1Ty change and the patch handles that change as well. Reid. On Thu, 2007-01-11 at 12:24 -0800, Jeff Cohen wrote: The patch doesn't work:

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Reid Spencer
Jeff, That just can't be .. see below On Thu, 2007-01-11 at 12:57 -0800, Jeff Cohen wrote: See my previous message. I updated, and LLVM no longer builds. Reid Spencer wrote: You need to update your LLVM tree. I just committed the BoolTy-Int1Ty change and the patch handles that change as

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Jeff Cohen
Not that message. this one: = OK, so I figured I need to update LLVM. Now that doesn't build: llvm[2]: Compiling Lexer.cpp for Debug build Lexer.cpp: In function 'int llvmAsmlex()': Lexer.cpp:1244: error: label 'find_rule' used but not defined gmake[2]: ***

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Reid Spencer
On Thu, 2007-01-11 at 12:38 -0800, Jeff Cohen wrote: OK, so I figured I need to update LLVM. Now that doesn't build: llvm[2]: Compiling Lexer.cpp for Debug build Lexer.cpp: In function 'int llvmAsmlex()': Lexer.cpp:1244: error: label 'find_rule' used but not defined gmake[2]: ***

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Reid Spencer
On Thu, 2007-01-11 at 13:19 -0800, Jeff Cohen wrote: Not that message. this one: = OK, so I figured I need to update LLVM. Now that doesn't build: llvm[2]: Compiling Lexer.cpp for Debug build Lexer.cpp: In function 'int llvmAsmlex()': Lexer.cpp:1244: error: label

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Reid Spencer
On Thu, 2007-01-11 at 13:33 -0800, Jeff Cohen wrote: Reid Spencer wrote: On Thu, 2007-01-11 at 13:19 -0800, Jeff Cohen wrote: Not that message. this one: = OK, so I figured I need to update LLVM. Now that doesn't build: llvm[2]: Compiling Lexer.cpp for

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Jeff Cohen
Reid Spencer wrote: On Thu, 2007-01-11 at 13:33 -0800, Jeff Cohen wrote: Look at the error more closely. It is not complaining about an unused label. That is a warning. It is complaining about using an undefined label. I have no local changes. Ah, yes, you're right. This is a

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Jeff Cohen
Jeff Cohen wrote: Reid Spencer wrote: On Thu, 2007-01-11 at 13:33 -0800, Jeff Cohen wrote: Look at the error more closely. It is not complaining about an unused label. That is a warning. It is complaining about using an undefined label. I have no local changes.

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Jeff Cohen
Jeff Cohen wrote: Jeff Cohen wrote: Reid Spencer wrote: On Thu, 2007-01-11 at 13:33 -0800, Jeff Cohen wrote: Look at the error more closely. It is not complaining about an unused label. That is a warning. It is complaining about using an undefined label.

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Jeff Cohen
Reid Spencer wrote: On Thu, 2007-01-11 at 13:19 -0800, Jeff Cohen wrote: Not that message. this one: = OK, so I figured I need to update LLVM. Now that doesn't build: llvm[2]: Compiling Lexer.cpp for Debug build Lexer.cpp: In function 'int llvmAsmlex()':

Re: [llvm-commits] [llvm-gcc] Changes In Boolean (please commit)

2007-01-11 Thread Jeff Cohen
When diffing the code generated by my version of flex against Lexer.cpp.cvs, and excluding the #line directives, I get this: 23,24c23 * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $ * $FreeBSD: src/usr.bin/lex/flex.skl,v 1.8 2004/01/06 19:03:44 nectar