A problem about loop store motion

2012-02-17 Thread Jiangning Liu
Hi, For this small test case, int *l, *r; int test_func(void) { int i; int direction; static int pos; pos = 0; direction = 1; for ( i = 0; i <= 400; i++ ) { if ( direction == 0 ) pos = l[pos];

PR51782: Missing address-space information in .expand

2012-02-17 Thread Georg-Johann Lay
I had a look into this again for the following small C program: struct rgb { char r; }; char read_bug (const __flash struct rgb *s) { struct rgb t = *s; return t.r; } char read_ok (const __flash struct rgb *s) { return s->r; } compiled as > avr-gcc flash-move.c -S -Os -dp -fdump-

Business inquiry for your site /

2012-02-17 Thread Katy Harvey
Hi gcc.gnu.org Team, I have a proposal for your site that you might be interested in. I'd really like to hear from you regarding this matter. Are you interested? Please get back to me if you have any questions and I'd be glad to discuss it to you in details. Thanks! Kindest Regards, Katy

Wrong REG_UNUSED notes for PARALLEL insns?

2012-02-17 Thread Georg-Johann Lay
Suppose the following insn from avr.md: (define_insn "xload__libgcc" [(set (reg:MOVMODE 22) (mem:MOVMODE (lo_sum:PSI (reg:QI 21) (reg:HI REG_Z (clobber (reg:QI 21)) (clobber (reg:HI REG_Z))] "avr_xload_libgcc_p (mode)" { rtx x_bytes = G

Re: Wrong REG_UNUSED notes for PARALLEL insns?

2012-02-17 Thread Richard Henderson
On 02/17/12 07:11, Georg-Johann Lay wrote: > ; (insn 13 12 8 (parallel [ > ; (set (reg:SI 22 r22) > ; (mem:SI (lo_sum:PSI (reg:QI 21 r21) > ; (reg:HI 30 r30)) [0 S4 A8 AS7])) > ; (clobber (reg:QI 21 r21)) > ; (clobber

Re: Wrong REG_UNUSED notes for PARALLEL insns?

2012-02-17 Thread Georg-Johann Lay
Richard Henderson wrote: > On 02/17/12 07:11, Georg-Johann Lay wrote: >> ; (insn 13 12 8 (parallel [ >> ; (set (reg:SI 22 r22) >> ; (mem:SI (lo_sum:PSI (reg:QI 21 r21) >> ; (reg:HI 30 r30)) [0 S4 A8 AS7])) >> ; (clobber (reg:QI 21

BEWARE: PLATEAU + SUCCESSFACTORS + SAP

2012-02-17 Thread Paul Rahme
WITHOUT PREJUDICE AND BASED ON SIMPLE FACTS ATTENTION: The SAP Global Executive & Supervisory Board of Directors & Shareholders The SuccessFactors Board of Directors & Shareholders Plateau Management at SuccessFactors (you know who you are) Ladies & Gentlemen, Please beware of the Plateau team

Re: Iterating over RTL in Graphite

2012-02-17 Thread David Malcolm
On Thu, 2012-02-16 at 19:17 -0400, Arnaldo wrote: > Hello everyone, > > I'm working on an extension to the Graphite pass of GCC 4.4.0. My > intention is to associate costs to RTL instructions by adding them as > RTX attributes to a machine description file, and to read them back > during the Grap

gcc-4.6-20120217 is now available

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

Re: Iterating over RTL in Graphite

2012-02-17 Thread Tobias Grosser
On 02/17/2012 08:34 PM, David Malcolm wrote: On Thu, 2012-02-16 at 19:17 -0400, Arnaldo wrote: Hello everyone, I'm working on an extension to the Graphite pass of GCC 4.4.0. My intention is to associate costs to RTL instructions by adding them as RTX attributes to a machine description file, a