[Bug fortran/32760] Error defining subroutine named PRINT

2008-01-22 Thread burnus at gcc dot gnu dot org
--- Comment #20 from burnus at gcc dot gnu dot org 2008-01-22 22:55 --- > It appears that the fix to PR34760 breaks my original testcase. > (r131624 from 20080118 still works, all builds after 20080120 fail). O well, the checked in test case of this PR uses "WRITE(" (note the "(") while

[Bug fortran/32760] Error defining subroutine named PRINT

2008-01-22 Thread anlauf at gmx dot de
--- Comment #19 from anlauf at gmx dot de 2008-01-22 22:39 --- It appears that the fix to PR34760 breaks my original testcase. (r131624 from 20080118 still works, all builds after 20080120 fail). Tobias? -- anlauf at gmx dot de changed: What|Removed

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-27 Thread jvdelisle at gcc dot gnu dot org
--- Comment #18 from jvdelisle at gcc dot gnu dot org 2007-07-27 16:53 --- Fixed on 4.3 -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Stat

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-27 Thread jvdelisle at gcc dot gnu dot org
--- Comment #17 from jvdelisle at gcc dot gnu dot org 2007-07-27 16:34 --- Subject: Bug 32760 Author: jvdelisle Date: Fri Jul 27 16:33:50 2007 New Revision: 126982 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126982 Log: 2007-07-27 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-27 Thread jvdelisle at gcc dot gnu dot org
--- Comment #16 from jvdelisle at gcc dot gnu dot org 2007-07-27 16:30 --- Subject: Bug 32760 Author: jvdelisle Date: Fri Jul 27 16:30:10 2007 New Revision: 126981 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126981 Log: 2007-07-27 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-26 Thread patchapp at dberlin dot org
--- Comment #15 from patchapp at dberlin dot org 2007-07-27 05:47 --- Subject: Bug number PR32760 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/2007-07/msg01960.html -- http://gcc.gnu.org/bugzilla/s

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-25 Thread dfranke at gcc dot gnu dot org
--- Comment #14 from dfranke at gcc dot gnu dot org 2007-07-26 06:57 --- > case FL_UNKNOWN: >+ if (sym->attr.access == ACCESS_PUBLIC) >+ break; > if (gfc_add_flavor (&sym->attr, FL_VARIABLE, > sym->name, NULL) == FAILURE) >return MAT

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2007-07-26 04:56 --- I will prepare a submittal to the list. Regression tested OK too. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #12 from jvdelisle at gcc dot gnu dot org 2007-07-26 04:54 --- This test case appears to execute correctly: module gfcbug68 implicit none public :: write contains function foo (i) integer, intent(in) :: i integer foo write (*,*) i foo = i end fun

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2007-07-26 04:02 --- The following seems to allow the test case to compile without error: Index: primary.c === --- primary.c (revision 126937) +++ primary.c (workin

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-24 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2007-07-24 20:51 --- > Obviously, this mechanism fails OTOH, maybe it doesn't. Setting host_flag to 0 in gdb does not seem to have any effect. Currently I'm lost. No idea how to fix this, thus unassigning myself. Jerry? -- dfrank

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-24 Thread dfranke at gcc dot gnu dot org
--- Comment #9 from dfranke at gcc dot gnu dot org 2007-07-24 19:59 --- Obviously, this mechanism fails: /* Since nothing has any business being an lvalue in a module specification block, an interface block or a contains section, we force the changed_symbols mechanism to wor

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-24 Thread dfranke at gcc dot gnu dot org
--- Comment #8 from dfranke at gcc dot gnu dot org 2007-07-24 19:53 --- Traced it down to primary.c(match_variable). Here, a symbol for PRINT is found (originating from the PUBLIC-statement). As the current flavour of the symbol is FL_UNKNOWN, it is set to FL_VARIABLE. The subroutine PRI

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-22 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2007-07-22 17:39 --- Digging in ... -- dfranke at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|u

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-22 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2007-07-22 08:21 --- > Daniel, I bet this is related to the print foo bug you were working on. > Same kind of thing. Will you take a further look? Jerry, you lost. While skipping the "fixup" in pr32710 avoids the ICE and results in a

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-07-22 04:08 --- Daniel, I bet this is related to the print foo bug you were working on. Same kind of thing. Will you take a further look? -- jvdelisle at gcc dot gnu dot org changed: What|Removed

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-16 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-07-17 04:26 --- It does not work with WRITE. If you replace the PRINT statement inside foo with an equivalent WRITE statement, you get the same error. The public :: print symbol is getting used by the PRINT statement rather tha

[Bug fortran/32760] Error defining subroutine named PRINT

2007-07-16 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-07-16 09:58 --- Work around: Remove "public :: print". I wonder what is that specific about PRINT. It works with WRITE, OPEN, ABS, ... but it does not work with PRINT ?!? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32760