This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]