Hi Evan,
Can you get me a test case? I need to see what gcc is doing. Thanks,
Sure. Zero sized fields in structs may not be very useful, but it is
still legal to use them, in particular you can take their address,
like this:
struct Z {};
struct Y {
int i;
struct Z z;
};
void
On Jan 27, 2008, at 1:03 AM, Duncan Sands wrote:
Hi Evan,
Can you get me a test case? I need to see what gcc is doing. Thanks,
Sure. Zero sized fields in structs may not be very useful, but it is
still legal to use them, in particular you can take their address,
like this:
struct Z {};
I'm running into this problem as well -- it crashing while compiling
gcov.c on my PPC G4.
While r46381 seems the obvious culprit, to tell the truth I didn't check
whether reverting this patch fixes the problem - so I could be wrong.
Ciao,
Duncan.
On Jan 26, 2008, at 11:18 PM, Chris Lattner wrote:
Author: lattner
Date: Sun Jan 27 01:18:20 2008
New Revision: 46412
URL: http://llvm.org/viewvc/llvm-project?rev=46412view=rev
Log:
Change x86-32 aggregate passing code to pass many aggregates by
pieces
instead of passing them with
Author: baldrick
Date: Sun Jan 27 12:11:13 2008
New Revision: 46415
URL: http://llvm.org/viewvc/llvm-project?rev=46415view=rev
Log:
Do not mark a function readnone or readonly if it has
a byval parameter.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-types.cpp
Modified:
Author: lattner
Date: Sun Jan 27 16:58:59 2008
New Revision: 46421
URL: http://llvm.org/viewvc/llvm-project?rev=46421view=rev
Log:
Add support for frameworks. Patch by Shantonu Sen!
Modified:
llvm/trunk/tools/llvm-ld/llvm-ld.cpp
Modified: llvm/trunk/tools/llvm-ld/llvm-ld.cpp
URL:
Author: lattner
Date: Sun Jan 27 17:21:58 2008
New Revision: 46422
URL: http://llvm.org/viewvc/llvm-project?rev=46422view=rev
Log:
fix a crash on CodeGen/X86/vector-rem.ll
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified:
Author: lattner
Date: Sun Jan 27 17:26:37 2008
New Revision: 46423
URL: http://llvm.org/viewvc/llvm-project?rev=46423view=rev
Log:
Update this test. Due to dag combiner improvements, we now compile
f7/f11 to:
_f7:
eor r0, r0, #2, 2 @ -2147483648
bx lr
_f11:
bic r0, r0,
Author: lattner
Date: Sun Jan 27 17:43:26 2008
New Revision: 46425
URL: http://llvm.org/viewvc/llvm-project?rev=46425view=rev
Log:
Always for PACKAGEVERSION to 'mainline' for teh llvm web page.
Modified:
llvm/trunk/docs/Makefile
Modified: llvm/trunk/docs/Makefile
URL:
Author: lattner
Date: Sun Jan 27 17:32:17 2008
New Revision: 46424
URL: http://llvm.org/viewvc/llvm-project?rev=46424view=rev
Log:
Fix PowerPC/./2007-10-18-PtrArithmetic.ll
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified:
Author: lattner
Date: Sun Jan 27 18:32:30 2008
New Revision: 46427
URL: http://llvm.org/viewvc/llvm-project?rev=46427view=rev
Log:
Fix PR1938 by forcing the code that uses an undefined value to branch one
way or the other. Rewriting the code itself prevents subsequent analysis
passes from making
Author: lattner
Date: Sun Jan 27 18:36:27 2008
New Revision: 46428
URL: http://llvm.org/viewvc/llvm-project?rev=46428view=rev
Log:
make handling of overflow and undefined results much more clear.
Patch by Eli Friedman, thanks!
Modified:
llvm/trunk/docs/LangRef.html
Modified:
Author: lattner
Date: Sun Jan 27 18:58:18 2008
New Revision: 46429
URL: http://llvm.org/viewvc/llvm-project?rev=46429view=rev
Log:
Fix PR1932 by disabling an xform invalid for fdiv.
Added:
llvm/trunk/test/Transforms/InstCombine/2008-01-27-FloatSelect.ll
Modified:
Author: nicholas
Date: Sun Jan 27 21:48:02 2008
New Revision: 46431
URL: http://llvm.org/viewvc/llvm-project?rev=46431view=rev
Log:
Handle some more combinations of extend and icmp. Fixes PR1940.
Added:
llvm/trunk/test/Transforms/InstCombine/2008-01-21-MismatchedCastAndCompare.ll
Modified:
Author: lattner
Date: Sun Jan 27 22:18:41 2008
New Revision: 46432
URL: http://llvm.org/viewvc/llvm-project?rev=46432view=rev
Log:
reduce duplicate -I flags passed to the compiler, cleaning up the VERBOSE
output. Patch contributed by Sam Bishop!
Modified:
llvm/trunk/Makefile.rules
On Jan 15, 2008, at 9:07 AM, Sam Bishop wrote:
The attached patch makes VERBOSE builds easier to wade through.
It's likely
to also permute the PROJ_* and LLVM_* includes, but I don't think that
should matter. I've done a full-tree compile and everything seems
to be
working.
Applied,
+ BuildMI(MBB, MBB.end(), TM.getInstrInfo()-get(PPC::NOP));
+ }
Is there any reason to actually make a machineinstr here? It seems
like it would be possible to just emit nop to the .s file. The JIT
doesn't need this.
I initially had that, but I thought that it would be better to do
Author: lattner
Date: Sun Jan 27 23:17:19 2008
New Revision: 46434
URL: http://llvm.org/viewvc/llvm-project?rev=46434view=rev
Log:
add a benchmark from 'VersaBench'.
Added:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/
test-suite/trunk/MultiSource/Benchmarks/VersaBench/README.txt
Author: lattner
Date: Sun Jan 27 23:23:39 2008
New Revision: 46435
URL: http://llvm.org/viewvc/llvm-project?rev=46435view=rev
Log:
add a VersaBench benchmark.
Added:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/dbms/Makefile
Author: lattner
Date: Sun Jan 27 23:35:03 2008
New Revision: 46436
URL: http://llvm.org/viewvc/llvm-project?rev=46436view=rev
Log:
add the 8b10b benchmark, hacked to take enough time to run to be interesting.
Added:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/8b10b/
Author: lattner
Date: Mon Jan 28 00:10:47 2008
New Revision: 46438
URL: http://llvm.org/viewvc/llvm-project?rev=46438view=rev
Log:
add the bmm benchmark, hacked to not produce huge output nor use huge input.
Added:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/bmm/
Author: lattner
Date: Mon Jan 28 00:14:28 2008
New Revision: 46439
URL: http://llvm.org/viewvc/llvm-project?rev=46439view=rev
Log:
run versabench by default
Added:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/Makefile
Modified:
test-suite/trunk/MultiSource/Benchmarks/Makefile
Author: lattner
Date: Mon Jan 28 00:27:00 2008
New Revision: 46440
URL: http://llvm.org/viewvc/llvm-project?rev=46440view=rev
Log:
Add a benchmark from the trimaran collection
Added:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/
Author: lattner
Date: Mon Jan 28 00:36:10 2008
New Revision: 46441
URL: http://llvm.org/viewvc/llvm-project?rev=46441view=rev
Log:
add an adapted version of md5
Added:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-md5/
Author: lattner
Date: Mon Jan 28 00:52:21 2008
New Revision: 46442
URL: http://llvm.org/viewvc/llvm-project?rev=46442view=rev
Log:
add a really scary benchmark
Added:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-pc1/
Author: lattner
Date: Mon Jan 28 00:56:33 2008
New Revision: 46443
URL: http://llvm.org/viewvc/llvm-project?rev=46443view=rev
Log:
add a new benchmark.
Added:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-rc4/
test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-rc4/Makefile
Author: nicholas
Date: Mon Jan 28 01:16:22 2008
New Revision: 46445
URL: http://llvm.org/viewvc/llvm-project?rev=46445view=rev
Log:
Make this test a little more forgiving.
Modified:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/beamformer/Makefile
Modified:
Author: lattner
Date: Mon Jan 28 01:23:41 2008
New Revision: 46447
URL: http://llvm.org/viewvc/llvm-project?rev=46447view=rev
Log:
make this program not read random memory
Modified:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-url/packet.c
Author: lattner
Date: Mon Jan 28 01:26:07 2008
New Revision: 46448
URL: http://llvm.org/viewvc/llvm-project?rev=46448view=rev
Log:
Build trimaran benchmarks by default
Added:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/Makefile
29 matches
Mail list logo