Re: [G++ 4.4.2] ABI changing?

2010-03-25 Thread Ian Lance Taylor
甜瓜 writes: > I find a problem when upgraded g++ from 4.4.1 to 4.4.2. Original g++ > generates code with "System V ABI", but new g++ generates code with > "Linux ABI". I don't know what difference between them, but the output > .so file from g++ 4.4.2 cannot be used in g++ 4.4.1. > > To describe m

[G++ 4.4.2] ABI changing?

2010-03-25 Thread 甜瓜
Howdy, I find a problem when upgraded g++ from 4.4.1 to 4.4.2. Original g++ generates code with "System V ABI", but new g++ generates code with "Linux ABI". I don't know what difference between them, but the output .so file from g++ 4.4.2 cannot be used in g++ 4.4.1. To describe my problem clear,

expected behavior for --with-cloog?

2010-03-25 Thread Jack Howarth
, [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); clooglibs= ; clooginc= ]) I noticed that this test only returns... checking for version 0.15.9 (or later revision) of CLooG... no for... ../gcc-4.5-20100325/configure --prefix=/sw --prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/shar

gcc-4.5-20100325 is now available

2010-03-25 Thread gccadmin
Snapshot gcc-4.5-20100325 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20100325/ 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/trunk

Re: Problem with ADDR_EXPR array offset

2010-03-25 Thread Massimo Nazaria
Thank you very much!!! :D --- Mer 24/3/10, Ian Lance Taylor ha scritto: > Da: Ian Lance Taylor > Oggetto: Re: Problem with ADDR_EXPR array offset > A: "Massimo Nazaria" > Cc: gcc@gcc.gnu.org > Data: Mercoledì 24 marzo 2010, 23:59 > Massimo Nazaria > writes: > > > I'm working on a pass and I

Re: Test Failures on sparc-rtems not repeatable by hand

2010-03-25 Thread Joel Sherrill
Hi, I wanted to let you know that I found the issue. The arguments to the script that drove the simulator had changed. Once I saw the command line that invoked the simulator, it was trivial to fix. Thanks for the pointer. Easy problem that was hard to find. --joel On 03/23/2010 04:10 PM, Jan

Re: CXXFLAGS_FOR_TARGET and config/mt-gnu

2010-03-25 Thread Ian Lance Taylor
Doug Semler writes: > The file config/mt-gnu currently defines CXXFLAGS_FOR_TARGET = > $(CXXFLAGS) -D_GNU_SOURCE. To me, it seems that it should be += > -D_GNU_SOURCE (like most of the other frags). Otherwise, I cannot > override the CXXFLAGS without overriding CXXFLAGS_FOR_TARGET. Or am I > m

Re: Question about RTL code hoisting

2010-03-25 Thread Jeff Law
On 03/25/10 10:19, Jie Zhang wrote: On 03/25/2010 11:22 PM, Jeff Law wrote: I never bothered to implement hoisting which touched hard regs -- I never thought the cost/benefit analysis made much sense. It's quite a bit more work to implement and code motion of hard regs is much more restricted t

Re: Question about RTL code hoisting

2010-03-25 Thread Jie Zhang
On 03/25/2010 11:24 PM, Steven Bosscher wrote: On Thu, Mar 25, 2010 at 4:03 PM, Jie Zhang wrote: I just found that the current RTL code hoisting cannot optimize REG = ... if (cond) { r0 = REG; } else { r0 = REG; ... } to REG = ... r0 = REG; if (cond) { ...

Re: Question about RTL code hoisting

2010-03-25 Thread Jie Zhang
On 03/25/2010 11:22 PM, Jeff Law wrote: On 03/25/10 09:14, Bernd Schmidt wrote: On 03/25/2010 04:03 PM, Jie Zhang wrote: I just found that the current RTL code hoisting cannot optimize REG = ... if (cond) { r0 = REG; } else { r0 = REG; ... } to REG = ... r0 = REG; if (cond) { } el

Re: About behavior of -save-temps=obj option on GCC 4.5

2010-03-25 Thread Michael Meissner
On Thu, Mar 25, 2010 at 11:33:17PM +0900, Tadashi Koike wrote: > Hi Richard > (* I am weak in English, so pleas forgive my English mistake.) > > Thank you for your reply, and I'm sorry to be late a reply. > > > On Sat, Mar 20, 2010 at 5:40 PM, Tadashi Koike wrote: > >> [ summary ] > >> c

Re: Question about RTL code hoisting

2010-03-25 Thread Steven Bosscher
On Thu, Mar 25, 2010 at 4:03 PM, Jie Zhang wrote: > I just found that the current RTL code hoisting cannot optimize > > REG = ... > if (cond) >  { >    r0 = REG; >     >  } > else >  { >    r0 = REG; >    ... >  } > > to > > > REG = ... > r0 = REG; > if (cond) >  { >     >  } > else >  { >

Re: Question about RTL code hoisting

2010-03-25 Thread Jeff Law
On 03/25/10 09:14, Bernd Schmidt wrote: On 03/25/2010 04:03 PM, Jie Zhang wrote: I just found that the current RTL code hoisting cannot optimize REG = ... if (cond) { r0 = REG; } else { r0 = REG; ... } to REG = ... r0 = REG; if (cond) {

Re: Question about RTL code hoisting

2010-03-25 Thread Steven Bosscher
On Thu, Mar 25, 2010 at 4:14 PM, Bernd Schmidt wrote: > On 03/25/2010 04:03 PM, Jie Zhang wrote: >> I just found that the current RTL code hoisting cannot optimize >> >> REG = ... >> if (cond) >>   { >>     r0 = REG; >>     >>   } >> else >>   { >>     r0 = REG; >>     ... >>   } >> >> to >>

Re: Question about RTL code hoisting

2010-03-25 Thread Bernd Schmidt
On 03/25/2010 04:03 PM, Jie Zhang wrote: > I just found that the current RTL code hoisting cannot optimize > > REG = ... > if (cond) > { > r0 = REG; > > } > else > { > r0 = REG; > ... > } > > to > > > REG = ... > r0 = REG; > if (cond) > { > > } > else >

Question about RTL code hoisting

2010-03-25 Thread Jie Zhang
I just found that the current RTL code hoisting cannot optimize REG = ... if (cond) { r0 = REG; } else { r0 = REG; ... } to REG = ... r0 = REG; if (cond) { } else { ... } where REG is a pseudo register and r0 is a physical register. I have lo

Re: About behavior of -save-temps=obj option on GCC 4.5

2010-03-25 Thread Tadashi Koike
Hi Richard (* I am weak in English, so pleas forgive my English mistake.) Thank you for your reply, and I'm sorry to be late a reply. > On Sat, Mar 20, 2010 at 5:40 PM, Tadashi Koike wrote: >> [ summary ] >> compiling is failed when more than two source file are >>specified with both

Re: Issue in combine pass.

2010-03-25 Thread Paolo Bonzini
On 03/25/2010 12:31 PM, Eric Botcazou wrote: The combine pass had been written at least a decade before vector modes were introduced so it essentially doesn't expect them, i.e. some transformations simply don't make sense for vector modes. You need to analyze the one you're seeing (e.g. where do

CXXFLAGS_FOR_TARGET and config/mt-gnu

2010-03-25 Thread Doug Semler
The file config/mt-gnu currently defines CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE. To me, it seems that it should be += -D_GNU_SOURCE (like most of the other frags). Otherwise, I cannot override the CXXFLAGS without overriding CXXFLAGS_FOR_TARGET. Or am I missing something?

Re: Issue in combine pass.

2010-03-25 Thread Eric Botcazou
> It seems to me that both the gen_lowpart and simplify_shift_const do the > wrong things in handling vector type. (zero_extend:SI (subreg:HI (V4HI)) is > not equal to (subreg:SI (V4HI)), is it? simplify_shift_const produces > (ashift:V4HI (V4HI..) (16), which is not right either. The combine pas

mirror proposition

2010-03-25 Thread James Miller
Dear Sir/Madam, We would like to raise an HTTP GCC mirror on our dedicated server in Canada and I would be very grateful if you provided me with instructions. Thank you. Best wishes, James Miller

Issue in combine pass.

2010-03-25 Thread Bingfeng Mei
Hello, I experienced an ICE for no-scevccp-outer-16.c in our port. It seems not in other ports so I couldn't file a bug report. Baiscally, the problem appears after the following transformations in expand_compound_operation (combine.c). Enter expand_compound_operation x: (zero_extend:SI (su