This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34427] [4.3 Regression] Revision 130708 breaks namelist input
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Dec 2007 00:03:58 -0000
- Subject: [Bug fortran/34427] [4.3 Regression] Revision 130708 breaks namelist input
- References: <bug-34427-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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