This is the mail archive of the gcc-bugs@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]

[Bug fortran/34427] [4.3 Regression] Revision 130708 breaks namelist input



------- Comment #18 from burnus at gcc dot gnu dot org  2007-12-12 00:03 -------
Created an attachment (id=14736)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14736&action=view)
Draft Patch

Test patch. It seems to fix the REAL reading part. I run out of time for the
COMPLEX part (parse_real), but it should follow accordingly; maybe I have time
tomorrow afternoon, otherwise feel free to pick it up - or come up with
something better.

Additionally, the test case contains a comment-out example which does not work.

Steve wrote:
> Can you use the method used in many of the gfc_match_* fucntions.
>    locus old_locus;
>    old_locus = current_locus;

This assumes that one can seek, doesn't it? (Remember, this is libgfortran and
not the frontend.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34427


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