On Fri, Jun 21, 2019 at 02:31:51PM +0100, Mark Eggleston wrote: > Currently variables with the AUTOMATIC attribute can not appear in an > EQUIVALENCE statement. However its counterpart, STATIC, can be used in > an EQUIVALENCE statement. > > Where there is a clear conflict in the attributes of variables in an > EQUIVALENCE statement an error message will be issued as is currently > the case. > > If there is no conflict e.g. a variable with a AUTOMATIC attribute and a > variable(s) without attributes all variables in the EQUIVALENCE will > become AUTOMATIC. > > Note: most of this patch was written by Jeff Law <l...@redhat.com> > > Please review. > > ChangeLogs: > > gcc/fortran > > Jeff Law <l...@redhat.com> > Mark Eggleston <mark.eggles...@codethink.com> > > * gfortran.h: Add check_conflict declaration.
This is wrong. By convention a routine that is not static has the gfc_ prefix. -- Steve 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=IbCHE-hONow