This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] PR28201 and PR20844 - two more one liners.


Ping



PR28201: Here resolve_generic_s would go charging off to try to find a generic interface in the parent namespace, if it existed. This is fine normally but, in the case of a use associated symbol, the parent namespace exists but there is no guarantee that an appropriately named symbol will be found there! In the case of the testcase, this is not so and the ICE ensues. The patch simply prevents the search in the parent namespace, if the initial symbol is use asscoaited.

PR20844: This has had my name next to it in Bugzilla for an embarrassing amount of time. The standard(9.4.1) constrains ADVANCE specifiers to appear with an explicit FORMAT specification. The condition includes dt->namelist == NULL to prevent the corresponding NAMELIST error from being overwritten. The error is tested by an additional line in io_constraints_2.f90

Paul


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