Dear Steven, I am constantly amazed that data statement bugs keep turning up:-) Anyway, your fix is fine for trunk and, if you feel so inclined, 4.8 and 4.9.
Thanks Paul On 23 August 2014 16:52, Steven Bosscher <stevenb....@gmail.com> wrote: > Hello, > > This bug is an error recovery issue. A data declaration is parsed and > accepted, and added to gfc_current_ns->data, but the statement is > rejected. The rejected data decl is not rolled back, causing memory > corruption later on. > > Proposed fix is to roll back DATA for rejected statements. > > Bootstrapped&tested on powerpc64-unknown-linux-gnu. OK for trunk? > > Ciao! > Steven -- The knack of flying is learning how to throw yourself at the ground and miss. --Hitchhikers Guide to the Galaxy