Re: [patch, fortran] PR39239 Warning about EQUIVALENCE and VOLATILE

2017-03-14 Thread Nicolas Koenig
On 03/14/2017 10:42 PM, Jerry DeLisle wrote: On 03/14/2017 01:17 PM, Nicolas Koenig wrote: Hello everyone, a simple patch to throw a warning if not all and not none of the equivalence objects are volatile. (And the according modification of gfortran.dg/volatile11.f90) Nicolas Regression tes

Re: [patch, fortran] PR39239 Warning about EQUIVALENCE and VOLATILE

2017-03-14 Thread Jerry DeLisle
On 03/14/2017 01:17 PM, Nicolas Koenig wrote: > Hello everyone, > > a simple patch to throw a warning if not all and not none of the equivalence > objects are volatile. (And the according modification of > gfortran.dg/volatile11.f90) > > Nicolas > > Regression tested for: > > GNU Fortran (GCC)

[patch, fortran] PR39239 Warning about EQUIVALENCE and VOLATILE

2017-03-14 Thread Nicolas Koenig
Hello everyone, a simple patch to throw a warning if not all and not none of the equivalence objects are volatile. (And the according modification of gfortran.dg/volatile11.f90) Nicolas Regression tested for: GNU Fortran (GCC) 7.0.1 20170311 (experimental) Changelog: 2017-03-13 Nicolas K