public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/41909] New: [4.4/4.5 Regression] ICE with "call foo" in "program foo" @ 2009-11-02 17:57 burnus at gcc dot gnu dot org 2009-11-02 17:57 ` [Bug fortran/41909] " burnus at gcc dot gnu dot org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: burnus at gcc dot gnu dot org @ 2009-11-02 17:57 UTC (permalink / raw) To: gcc-bugs program test implicit none call test() contains subroutine one(a) real, dimension(:,:), intent(inout), optional :: a call two(a) end subroutine one end program test With 4.5: f951: internal compiler error: in is_illegal_recursion, at fortran/resolve.c:1120 With 4.4: hfjffff.f90:3.13: call test() 1 hfjffff.f90:1.12: program test 2 Error: Global name 'test' at (1) is already being used as a PROGRAM at (2) f951: internal compiler error: in is_illegal_recursion, at fortran/resolve.c:1103 With 4.3: hfjffff.f90:3.13: call test() 1 hfjffff.f90:1.12: program test 2 Error: Global name 'test' at (1) is already being used as a PROGRAM at (2) hfjffff.f90:3.13: call test() 1 Error: SUBROUTINE 'test' at (1) cannot call itself, as it is not RECURSIVE With 4.2: hfjffff.f90:3.11: call test() 1 Error: PROGRAM attribute conflicts with PROCEDURE attribute at (1) -- Summary: [4.4/4.5 Regression] ICE with "call foo" in "program foo" Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41909 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/41909] [4.4/4.5 Regression] ICE with "call foo" in "program foo" 2009-11-02 17:57 [Bug fortran/41909] New: [4.4/4.5 Regression] ICE with "call foo" in "program foo" burnus at gcc dot gnu dot org @ 2009-11-02 17:57 ` burnus at gcc dot gnu dot org 2009-11-06 3:21 ` jvdelisle at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: burnus at gcc dot gnu dot org @ 2009-11-02 17:57 UTC (permalink / raw) To: gcc-bugs -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41909 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/41909] [4.4/4.5 Regression] ICE with "call foo" in "program foo" 2009-11-02 17:57 [Bug fortran/41909] New: [4.4/4.5 Regression] ICE with "call foo" in "program foo" burnus at gcc dot gnu dot org 2009-11-02 17:57 ` [Bug fortran/41909] " burnus at gcc dot gnu dot org @ 2009-11-06 3:21 ` jvdelisle at gcc dot gnu dot org 2009-11-07 2:35 ` jvdelisle at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: jvdelisle at gcc dot gnu dot org @ 2009-11-06 3:21 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from jvdelisle at gcc dot gnu dot org 2009-11-06 03:21 ------- I have a patch for this testing. -- jvdelisle at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jvdelisle at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-11-06 03:21:21 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41909 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/41909] [4.4/4.5 Regression] ICE with "call foo" in "program foo" 2009-11-02 17:57 [Bug fortran/41909] New: [4.4/4.5 Regression] ICE with "call foo" in "program foo" burnus at gcc dot gnu dot org 2009-11-02 17:57 ` [Bug fortran/41909] " burnus at gcc dot gnu dot org 2009-11-06 3:21 ` jvdelisle at gcc dot gnu dot org @ 2009-11-07 2:35 ` jvdelisle at gcc dot gnu dot org 2009-11-07 4:31 ` jvdelisle at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: jvdelisle at gcc dot gnu dot org @ 2009-11-07 2:35 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from jvdelisle at gcc dot gnu dot org 2009-11-07 02:35 ------- Subject: Bug 41909 Author: jvdelisle Date: Sat Nov 7 02:35:06 2009 New Revision: 153990 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153990 Log: 2009-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/41909 * gfortran.dg/recursive_check_15.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/recursive_check_15.f90 Modified: trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41909 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/41909] [4.4/4.5 Regression] ICE with "call foo" in "program foo" 2009-11-02 17:57 [Bug fortran/41909] New: [4.4/4.5 Regression] ICE with "call foo" in "program foo" burnus at gcc dot gnu dot org ` (2 preceding siblings ...) 2009-11-07 2:35 ` jvdelisle at gcc dot gnu dot org @ 2009-11-07 4:31 ` jvdelisle at gcc dot gnu dot org 2009-11-07 4:33 ` jvdelisle at gcc dot gnu dot org 2009-11-07 4:35 ` jvdelisle at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: jvdelisle at gcc dot gnu dot org @ 2009-11-07 4:31 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from jvdelisle at gcc dot gnu dot org 2009-11-07 04:31 ------- Subject: Bug 41909 Author: jvdelisle Date: Sat Nov 7 04:31:02 2009 New Revision: 153991 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153991 Log: 2009-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/41909 * resolve.c (is_illegal_recursion): Return false if sym is program. Modified: branches/gcc-4_4-branch/gcc/fortran/ChangeLog branches/gcc-4_4-branch/gcc/fortran/resolve.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41909 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/41909] [4.4/4.5 Regression] ICE with "call foo" in "program foo" 2009-11-02 17:57 [Bug fortran/41909] New: [4.4/4.5 Regression] ICE with "call foo" in "program foo" burnus at gcc dot gnu dot org ` (3 preceding siblings ...) 2009-11-07 4:31 ` jvdelisle at gcc dot gnu dot org @ 2009-11-07 4:33 ` jvdelisle at gcc dot gnu dot org 2009-11-07 4:35 ` jvdelisle at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: jvdelisle at gcc dot gnu dot org @ 2009-11-07 4:33 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from jvdelisle at gcc dot gnu dot org 2009-11-07 04:33 ------- Subject: Bug 41909 Author: jvdelisle Date: Sat Nov 7 04:33:06 2009 New Revision: 153992 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153992 Log: 2009-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/41909 * gfortran.dg/recursive_check_15.f90: New test. Added: branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/recursive_check_15.f90 Modified: branches/gcc-4_4-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41909 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/41909] [4.4/4.5 Regression] ICE with "call foo" in "program foo" 2009-11-02 17:57 [Bug fortran/41909] New: [4.4/4.5 Regression] ICE with "call foo" in "program foo" burnus at gcc dot gnu dot org ` (4 preceding siblings ...) 2009-11-07 4:33 ` jvdelisle at gcc dot gnu dot org @ 2009-11-07 4:35 ` jvdelisle at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: jvdelisle at gcc dot gnu dot org @ 2009-11-07 4:35 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from jvdelisle at gcc dot gnu dot org 2009-11-07 04:35 ------- Fixed on 4.5 and 4.4. -- jvdelisle at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41909 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-11-07 4:35 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-11-02 17:57 [Bug fortran/41909] New: [4.4/4.5 Regression] ICE with "call foo" in "program foo" burnus at gcc dot gnu dot org 2009-11-02 17:57 ` [Bug fortran/41909] " burnus at gcc dot gnu dot org 2009-11-06 3:21 ` jvdelisle at gcc dot gnu dot org 2009-11-07 2:35 ` jvdelisle at gcc dot gnu dot org 2009-11-07 4:31 ` jvdelisle at gcc dot gnu dot org 2009-11-07 4:33 ` jvdelisle at gcc dot gnu dot org 2009-11-07 4:35 ` jvdelisle at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).