[Patch, Fortran] PR 38669 Array bounds violation for arguments of elemental subroutine

Daniel Kraft d@domob.eu
Sun Jan 4 10:26:00 GMT 2009


Hi Mikael,

Mikael Morin wrote:
> This patch fixes an array bounds violation with elemental arguments.
> This is a regression.
> 
> The array bounds variables were used before they were assigned a value.
> This is fixed by adding the offending code (dependency code) _after_ the
> loop's pre code.
> 
> This patch also contains a fix for the fix for PR 38487 which was
> supposed to only circumvent the warning, but was also changing the
> return value.
> 
> As a bonus, it also fixes a function name in the ChangeLog.
> 
> Regression tested on x86_64-unknown-linux-gnu. Ok for trunk (and later
> 4.3?)?

Ok.  Thanks for fixing these issues!

Yours,
Daniel

-- 
Done:  Arc-Bar-Cav-Rog-Sam-Tou-Val-Wiz
To go: Hea-Kni-Mon-Pri-Ran



More information about the Gcc-patches mailing list