[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c

2007-04-26 Thread Andrew Lenharth
Changes in directory llvm-test/MultiSource/Benchmarks/Olden/voronoi: newvor.c updated: 1.11 - 1.12 --- Log message: I think the correct thing to do is decide if malloc.h should be included based on OS, not arch --- Diffs of the changes: (+1 -1) newvor.c |2 +- 1 files changed, 1

Re: [llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c

2007-04-26 Thread Jeff Cohen
Absolutely true. This change will cause the test to fail on the BSDs, which will complain that malloc.h has been replaced by stdlib.h. Please use a different test. Andrew Lenharth wrote: Changes in directory llvm-test/MultiSource/Benchmarks/Olden/voronoi: newvor.c updated: 1.11 - 1.12 ---

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c

2007-04-26 Thread Andrew Lenharth
Changes in directory llvm-test/MultiSource/Benchmarks/Olden/voronoi: newvor.c updated: 1.12 - 1.13 --- Log message: test os rather than arch --- Diffs of the changes: (+1 -1) newvor.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

Re: [llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c

2007-04-26 Thread Chris Lattner
On Apr 26, 2007, at 1:11 PM, Jeff Cohen wrote: Absolutely true. This change will cause the test to fail on the BSDs, which will complain that malloc.h has been replaced by stdlib.h. Please use a different test. Better yet, just unconditionally #include stdlib.h and eliminate malloc.h

Re: [llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c

2007-04-26 Thread Jeff Cohen
Chris Lattner wrote: On Apr 26, 2007, at 1:11 PM, Jeff Cohen wrote: Absolutely true. This change will cause the test to fail on the BSDs, which will complain that malloc.h has been replaced by stdlib.h. Please use a different test. Better yet, just unconditionally #include stdlib.h and

Re: [llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c

2007-04-26 Thread Jeff Cohen
Chris Lattner wrote: On Apr 26, 2007, at 2:23 PM, Jeff Cohen wrote: Chris Lattner wrote: On Apr 26, 2007, at 1:11 PM, Jeff Cohen wrote: Absolutely true. This change will cause the test to fail on the BSDs, which will complain that malloc.h has been replaced by stdlib.h. Please use a

Re: [llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c

2007-04-26 Thread Andrew Lenharth
I need it because it isn't defined by stdlib.h on linux. I need it because it is defaulting to: int memalign(...), lacking any other definition. It happens to work in most usage this way, but it isn't correct. Andrew On 4/26/07, Jeff Cohen [EMAIL PROTECTED] wrote: Chris Lattner wrote: On

Re: [llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c

2007-04-26 Thread Chris Lattner
On Apr 26, 2007, at 2:42 PM, Andrew Lenharth wrote: I need it because it isn't defined by stdlib.h on linux. I need it because it is defaulting to: int memalign(...), lacking any other definition. It happens to work in most usage this way, but it isn't correct. Easy solution. In that

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c

2006-04-17 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/Olden/voronoi: newvor.c updated: 1.10 - 1.11 --- Log message: Add checks for __OpenBSD__. --- Diffs of the changes: (+1 -1) newvor.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: