From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15141 invoked by alias); 6 Jan 2005 23:16:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15129 invoked by uid 48); 6 Jan 2005 23:16:23 -0000 Date: Thu, 06 Jan 2005 23:16:00 -0000 Message-ID: <20050106231623.15127.qmail@sourceware.org> From: "milan at cmm dot ki dot si" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041014070923.17992.milan@cmm.ki.si> References: <20041014070923.17992.milan@cmm.ki.si> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libfortran/17992] reading empty line does not return 0 X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg00777.txt.bz2 List-Id: ------- Additional Comments From milan at cmm dot ki dot si 2005-01-06 23:16 ------- > > we are trying to read 3 things, the '/' which consumes the first /n, then two > numbers (each I2). the file has 2 /n's in it. > I simplified thing and threw out the / from format specification. If I put 2 empty lines in the psfres.dat file I get the two zeros. This is improvement!! I am using 4.0.0-20041212 snapshot. But still I need only one empty line for g77. However if I put only 2 space characters in the one line psfres.dat then I get 2 zeros. So we are almoste there.... I think this is what always worked in fortran even in the days of punch cards: the blank card always produced zeros when read in the input deck. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17992