Re: [patch] Fix invalid GIMPLE out of SRA

2011-03-24 Thread Richard Guenther
On Wed, Mar 23, 2011 at 9:54 PM, Eric Botcazou wrote: > Hi, > > this is a fallout of one of my gimplifier changes.  For the attached testcase, > the compiler generates invalid GIMPLE at -O1 or above: > > p.adb: In function 'P.F': > p.adb:24:1: error: invalid operand in unary operation > D.2361_107

[patch] Fix invalid GIMPLE out of SRA

2011-03-23 Thread Eric Botcazou
Hi, this is a fallout of one of my gimplifier changes. For the attached testcase, the compiler generates invalid GIMPLE at -O1 or above: p.adb: In function 'P.F': p.adb:24:1: error: invalid operand in unary operation D.2361_107 = (integer[1:1] *) &*S15b.16_56[D.2327_91 ...]{lb: 1 sz: 4}; if