gcc-4.5-20120517 is now available

2012-05-17 Thread gccadmin
Snapshot gcc-4.5-20120517 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20120517/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.5 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: making sizeof(void*) different from sizeof(void(*)())

2012-05-17 Thread Michael Meissner
On Sat, Apr 28, 2012 at 02:32:18PM -0500, Peter Bigot wrote: > The MSP430's split address space and ISA make it expensive to place > data above the 64 kB boundary, but cheap to place code there. So I'm > looking for a way to use HImode for data pointers, but PSImode for > function pointers. If gc

Re: [discuss] [x86-64 psABI] RFC: Extend x86-64 psABI to support x32

2012-05-17 Thread H.J. Lu
On Tue, May 15, 2012 at 9:07 AM, Michael Matz wrote: > Hi, > > On Mon, 14 May 2012, H.J. Lu wrote: > >> > As a minor nitpick, I have always used x32 with a lower case x.  The >> > capital X32 looks odd to me. >> > >> >> I used X32 together with LP64.  I can use ILP32 instead of X32 when LP64 >> is

Re: Extension to compare-elim

2012-05-17 Thread Paulo J. Matos
On Thu, 17 May 2012 09:08:26 -0700, Richard Henderson wrote: > My question is, why are you generating compares in two different modes > early, before compare-elim runs? If you hadn't done that, your > redundant compare would already be eliminated. > Good question. I tried to follow the example s

Question about pointer use-def/def-use information operation and maintainance

2012-05-17 Thread toddy wang
Hi, all Now I am developing a GCC(verion 4.6.2) optimization plugin(it is inserted after ccp2 or ssa) for redundant memory access elimination. But I don't know how to handle pointer use-def/def-use information when a redundant statement is found. For example, //original C code example int foo(

Re: Extension to compare-elim

2012-05-17 Thread Richard Henderson
On 05/15/12 06:00, Paulo J. Matos wrote: > The RTL for the first two comparisons at compare-elim is: > (insn 51 3 52 2 (set (reg:CC_NZ 13 CC) > (compare:CC_NZ (reg:QI 0 AH [orig:27 a ] [27]) > (const_int 0 [0]))) b651.c:1 63 {*tstqi} > (nil)) > > (jump_insn 52 51 34 2 (set

RE: Vectorizer question

2012-05-17 Thread Bingfeng Mei
If both X & Y are vectors, GCC will report error (at least on our port based on 4.5) as invalid operands to ==. Not sure if it is extended for 4.7. Bingfeng -Original Message- From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of Iyer, Balaji V Sent: 17 May 2012 00:01