I have committed the patch after Janne's approval on IRC and fresh
building/regtesting as Rev. 203086. See
http://gcc.gnu.org/ml/fortran/2012-11/msg00092.html
As suggested by Janne, I will backport it to 4.8 in in a bunch of days.
Tobias
On November 29, 2012 12:38, Tobias Burnus wrote:
Tobias Burnus wrote:
l_push_char allocates memory which is freed with free_line. However,
currently, the memory is not always freed when calling
generate_error. If one aborts, that's fine. However, generate_error
can also set the iostat variable.
Updated version: Corrected PR number - and ensured that if
convert_real fails, free_saved is called (cf. additional test case in
the PR).
Build and regtested on x86-64-gnu-linux.
OK for the trunk?
Tobias