This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25486] [4.1/4.2 Regression] fortran fixed-form literal character constant not padded.
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2006 17:06:48 -0000
- Subject: [Bug fortran/25486] [4.1/4.2 Regression] fortran fixed-form literal character constant not padded.
- References: <bug-25486-10110@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from aldot at gcc dot gnu dot org 2006-01-11 17:06 -------
Subject: Bug 25486
Author: aldot
Date: Wed Jan 11 17:06:44 2006
New Revision: 109592
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109592
Log:
gcc/fortran:
2006-01-11 Bernhard Fischer <rep.nop@aon.at>
PR fortran/25486
* scanner.c (load_line): use maxlen to determine the line-length used
for padding lines in fixed form.
gcc/testsuite:
2006-01-10 Bernhard Fischer <rep.nop@aon.at>
PR fortran/25486
* gfortran.dg/literal_character_constant_1_x.F: New test.
* gfortran.dg/literal_character_constant_1_y.F: Ditto.
* gfortran.dg/literal_character_constant_1_z.F: Ditto.
* gfortran.dg/literal_character_constant_1.inc: Helper for new tests.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/literal_character_constant_1.inc
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/literal_character_constant_1_x.F
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/literal_character_constant_1_y.F
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/literal_character_constant_1_z.F
Modified:
branches/gcc-4_1-branch/gcc/fortran/scanner.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25486