Re: [patch] PR fortran/61669

2014-12-15 Thread Jakub Jelinek
On Sat, Aug 23, 2014 at 06:59:14PM +0200, Paul Richard Thomas wrote: > 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. Steven didn't respond to my ping about this PR, so I've upda

Re: [patch] PR fortran/61669

2014-08-23 Thread Paul Richard Thomas
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 wrote: > Hello, > > This bug is an error recovery issue. A data declaration is pars

[patch] PR fortran/61669

2014-08-23 Thread Steven Bosscher
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. Boots