[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-09-18 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2006-09-18 22:26 --- Fixed on trunk and 4.1 Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28526

[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-09-18 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2006-09-18 22:25 --- integer, allocatable :: x(:) integer :: i, j(2) allocate (x(kind(i)), stat=i) print *, size(x) allocate (x(size(j)), stat=j(1)) print *, size(x) end -- pault at gcc dot gnu dot org changed

[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-09-18 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2006-09-18 20:20 --- Subject: Bug 28526 Author: pault Date: Mon Sep 18 20:19:50 2006 New Revision: 117034 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117034 Log: 2006-09-18 Paul Thomas <[EMAIL PROTECTED]> PR fortran/28

[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-09-15 Thread patchapp at dberlin dot org
--- Comment #7 from patchapp at dberlin dot org 2006-09-15 10:05 --- Subject: Bug number PR28526 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00582.html -- http://gcc.gnu.org/bugzilla/sh

[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-09-14 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2006-09-14 20:05 --- Iguchi-san and Tobi, This has proven to be an "absorbing" bug and is indicative of a rather serious malaise in the gfortran parser. As I surmised in the previous comment, it is the assignments that are the culprits.

[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-09-14 Thread paul dot richard dot thomas at cea dot fr
--- Comment #5 from paul dot richard dot thomas at cea dot fr 2006-09-14 15:23 --- > module m > public function > interface function > module procedure foo4 > end interface > contains > subroutine foo4 > end subroutine foo4 > function foo5 > foo5 = 0 > end functio

[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-09-14 Thread tobi at gcc dot gnu dot org
--- Comment #4 from tobi at gcc dot gnu dot org 2006-09-14 10:59 --- The difference is that 'end' appears in other contexts, see e.g. the difference between these two testcases: [EMAIL PROTECTED]:~/src/pr/28526> cat t.f90 module m public function interface function module proce

[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-09-13 Thread tobi at gcc dot gnu dot org
--- Comment #3 from tobi at gcc dot gnu dot org 2006-09-13 16:06 --- This is intriguing. Why would 'end' be treated any different from 'xxx'? -- tobi at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-07-31 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2006-07-31 18:20 --- Andrew, end is a keyword, but Fortran does not have reserved keywords. integer end end = 1 print *, end end The two 'end's are distinct. Yes, it's prudent not to use keywords in some other way, but Fort

[Bug fortran/28526] 'end' is recognized as a variable incorrectly

2006-07-31 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-31 17:44 --- Hmm, end is keyword. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28526