Re: Reload generating memory ref in memory ref

2008-12-04 Thread Ian Lance Taylor
Michael Eager <[EMAIL PROTECTED]> writes: > I'm running into a situation where reload is replacing > a pseudo-register in an insn with a memory reference. > The problem is that this is happening in a memory ref. > > The initial pattern is something like > > (set (reg/v:SI 1) (mem/s:SI (plus:SI >

Re: c++ regressions on powerpc-apple-darwin8.5.0

2008-12-04 Thread Jack Howarth
Under powerpc-apple-darwin9, these new failures appear as... Executing on host: /sw/src/fink.build/gcc44-4.3.999-20081204/darwin_objdir/gcc/testsuite/g++/../../g++ -B/sw/src/fink.build/gcc44-4.3.999-20081204/darwin_objdir/gcc/testsuite/g+ +/../../ /sw/src/fink.build/gcc44-4.3.999-20081204

gcc-4.3-20081204 is now available

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

Reload generating memory ref in memory ref

2008-12-04 Thread Michael Eager
Hi -- I'm running into a situation where reload is replacing a pseudo-register in an insn with a memory reference. The problem is that this is happening in a memory ref. The initial pattern is something like (set (reg/v:SI 1) (mem/s:SI (plus:SI (reg/f:SI 30) (const_int 4)) )) A

Re: c++ regressions on powerpc-apple-darwin8.5.0

2008-12-04 Thread Jack Howarth
On Thu, Dec 04, 2008 at 12:17:38PM -0500, Jack Howarth wrote: >We seem to have developed a number of c++ regression on > powerpc-apple-darwin8.5.0 which weren't present in r142401... > > http://gcc.gnu.org/ml/gcc-testresults/2008-12/msg00311.html > > ...that are now present in r142425... > >

�dv

2008-12-04 Thread H�rlevel
Szia Pár napja kérdezted hogy nem e tudok egy jó letöltős oldalt. És én most találtam egyet. Tele van jobbnál jobb filmekkel, és olcsó! 1 db sms elküldése után 500 kb/sec-el töltöttem napokig a legújabb premier filmeket és meséket. Szerintem neked is be fog válni: http://h

c++ regressions on powerpc-apple-darwin8.5.0

2008-12-04 Thread Jack Howarth
We seem to have developed a number of c++ regression on powerpc-apple-darwin8.5.0 which weren't present in r142401... http://gcc.gnu.org/ml/gcc-testresults/2008-12/msg00311.html ...that are now present in r142425... http://gcc.gnu.org/ml/gcc-testresults/2008-12/msg00311.html These new failur

Re: Transforms on SSA form

2008-12-04 Thread Diego Novillo
On Thu, Dec 4, 2008 at 11:20, John Freeman <[EMAIL PROTECTED]> wrote: > There are documented methods of SSA decomposition. The naive method is a > simple reversal of SSA composition: > > SSA composition: rename variables (typically by adding suffix), add phi > nodes > SSA decomposition: rename var

Re: Transforms on SSA form

2008-12-04 Thread Diego Novillo
2008/12/3 James Courtier-Dutton <[EMAIL PROTECTED]>: > Example C code: > a = 1; > if (condition) a = 2; > b = a; > > In SSA (use $ for the Phi, Φ) > a1 = 1; > if (condition) a2 = 2; > a3 = $(a1, a2); > b1 = a3; > > My problem is how do I convert the "a3 = $(a1, a2);" back to normal C code? Try u

�dv

2008-12-04 Thread H�rlevel
Szia Pár napja kérdezted hogy nem e tudok egy jó letöltős oldalt. És én most találtam egyet. Tele van jobbnál jobb filmekkel, és olcsó! 1 db sms elküldése után 500 kb/sec-el töltöttem napokig a legújabb premier filmeket és meséket. Szerintem neked is be fog válni: http://h

Re: Transforms on SSA form

2008-12-04 Thread John Freeman
There are documented methods of SSA decomposition. The naive method is a simple reversal of SSA composition: SSA composition: rename variables (typically by adding suffix), add phi nodes SSA decomposition: rename variables (by dropping suffix), remove phi nodes The short answer to your quest

RE: ia32 gcc-Debian 4.3.2-1 "rep ret" ?

2008-12-04 Thread Ye, Joey
Maybe comments at the insn pattern who emit "rep\; ret" can explain it: ";; Used by x86_machine_dependent_reorg to avoid penalty on single byte RET ;; instruction Athlon and K8 have." Thanks - Joey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Etienne

Re: ia32 gcc-Debian 4.3.2-1 "rep ret" ?

2008-12-04 Thread Andrew Haley
Etienne Lorrain wrote: > Hello, > > I did not find any documentation of a "rep ret" instruction, at > http://www.intel.com/design/processor/manuals/253667.pdf > they just say: "The behavior of the REP prefix is undefined when used with > non-strings instructions". > > Any pointers? http://g

ia32 gcc-Debian 4.3.2-1 "rep ret" ?

2008-12-04 Thread Etienne Lorrain
Hello, I did not find any documentation of a "rep ret" instruction, at http://www.intel.com/design/processor/manuals/253667.pdf they just say: "The behavior of the REP prefix is undefined when used with non-strings instructions". Any pointers? Thanks, Etienne. etienne:~$ gcc --version gcc

Re: warn_unused_result seems to generate spurious warnings

2008-12-04 Thread Andrew Haley
Andrew Haley wrote: > In this test case: I now see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 Please ignore my earlier message.

warn_unused_result seems to generate spurious warnings

2008-12-04 Thread Andrew Haley
In this test case: int fn () __attribute__ ((warn_unused_result)); int foo () { if (fn () < 0) return -1; (void) fn (); return 0; } $ gcc -S -Wall ~/p.c /home/aph/p.c: In function 'foo': /home/aph/p.c:5: warning: ignoring return value of 'fn', declared with attribute warn_unused_resul