On Sun, Feb 24, 2019 at 05:42:14PM +0000, Paul Richard Thomas wrote: > > > Of course, there could also be a more profound way of fixing this > > bug :-) > > I wish that it were the case. I am unable to decide whether the design > choices made for an F95 compiler have cause the add-ons to be > intrinsically complicated or whether or whether F2018, extensions and > legacy support is the cause of the complexity - probably both. Either > way, profundity is rarely to be found in bugfixes. >
flang project was going to port PGI's frontend to use llvm as it middle/backend. A part of the port was to update PGI bits to include modern Fortran. The flang developers have decided to write an entirely new, from scratch, frontend. My conclusion is our 15+ year-old decisions and the addition of newer features (both modern Fortran and legacy) have complicated parts of the compiler to an almost unmanageable state. You can probably appreciate this better than most of us. -- Steve