public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite
@ 2004-09-11 22:23 jvdelisle at verizon dot net
  2004-09-11 23:11 ` [Bug fortran/17423] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: jvdelisle at verizon dot net @ 2004-09-11 22:23 UTC (permalink / raw)
  To: gcc-bugs

FM509.f causes segfault when attempting to compile.  gdb output as follows:

(gdb) set args FM509.f
(gdb) run
Starting program: /home/jerry/bin/f951 FM509.f
 MAIN__
 sn510
 
Program received signal SIGSEGV, Segmentation fault.
0x080a0494 in gfc_create_function_decl (ns=0x87c01a0)
    at ../../gcc-3.5-20040905/gcc/fortran/trans-decl.c:1384
1384                  if (formal->sym->ts.type == BT_CHARACTER)
(gdb)

-- 
           Summary: gfortran segfault when compiling FM509.f from NIST
                    testsuite
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jvdelisle at verizon dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
@ 2004-09-11 23:11 ` pinskia at gcc dot gnu dot org
  2004-09-11 23:22 ` jvdelisle at verizon dot net
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-11 23:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-11 23:11 -------
This is related to bug 13082.  Can you attach the fortran source if the license of the testsuite allows it?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |13082
            Version|unknown                     |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
  2004-09-11 23:11 ` [Bug fortran/17423] " pinskia at gcc dot gnu dot org
@ 2004-09-11 23:22 ` jvdelisle at verizon dot net
  2004-09-12  0:53 ` bdavis at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jvdelisle at verizon dot net @ 2004-09-11 23:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jvdelisle at verizon dot net  2004-09-11 23:21 -------
Using gdb with f951 I get the segfaults on the following programs from
the NIST test suite:

FM509.f         trans-decl.c:1384
FM517.f         trans-decl.c:1372
FM711.f         trans-array.c:1619
FM903.f         trans-array.c:1619
FM908.f         trans-array.c:1619
FM909.f         trans-array.c:1619

Test suite downloaded from:

http://www.fortran-2000.com/ArnaudRecipes/fcvs21_f95.html

'modified' version used.  Software is public domain, provide acknowledgement of
NIST.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
  2004-09-11 23:11 ` [Bug fortran/17423] " pinskia at gcc dot gnu dot org
  2004-09-11 23:22 ` jvdelisle at verizon dot net
@ 2004-09-12  0:53 ` bdavis at gcc dot gnu dot org
  2004-09-12  0:56 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-09-12  0:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bdavis at gcc dot gnu dot org  2004-09-12 00:53 -------
reduced test case:


      SUBROUTINE SN510(IVD021,IVD002)
      RETURN
      ENTRY EN858(IVD019,*,*)
      END
 




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
                   ` (2 preceding siblings ...)
  2004-09-12  0:53 ` bdavis at gcc dot gnu dot org
@ 2004-09-12  0:56 ` pinskia at gcc dot gnu dot org
  2004-11-10  2:45 ` jvdelisle at verizon dot net
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-12  0:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-12 00:56 -------
So lets change this so we block the other bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|13082                       |
OtherBugsDependingO|                            |13082
              nThis|                            |
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-12 00:56:35
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
                   ` (3 preceding siblings ...)
  2004-09-12  0:56 ` pinskia at gcc dot gnu dot org
@ 2004-11-10  2:45 ` jvdelisle at verizon dot net
  2004-11-10  2:52 ` jvdelisle at verizon dot net
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jvdelisle at verizon dot net @ 2004-11-10  2:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jvdelisle at verizon dot net  2004-11-10 02:45 -------
Latest run of NIST f77 testsuite.  There appears to be 3 of the previously
reported errors and 5 additional new ones.

GNU Fortran 95 (GCC 4.0.0 20041108 (experimental))
Copyright (C) 2004 Free Software Foundation, Inc.
  

FM020.f:177: internal compiler error: in gfc_add_modify_expr, at fortran/trans.c:154
FM311.f:401: internal compiler error: in gfc_add_modify_expr, at fortran/trans.c:154
FM328.f:465: internal compiler error: in gfc_add_modify_expr, at fortran/trans.c:154
FM509.f:487: internal compiler error: Segmentation fault
FM517.f:335: internal compiler error: Segmentation fault
FM711.f:171: internal compiler error: Segmentation fault
FM903.f:195: internal compiler error: Segmentation fault
FM908.f:187: internal compiler error: Segmentation fault
FM909.f:228: internal compiler error: Segmentation fault

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
                   ` (4 preceding siblings ...)
  2004-11-10  2:45 ` jvdelisle at verizon dot net
@ 2004-11-10  2:52 ` jvdelisle at verizon dot net
  2004-12-11  5:59 ` jvdelisle at verizon dot net
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jvdelisle at verizon dot net @ 2004-11-10  2:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jvdelisle at verizon dot net  2004-11-10 02:52 -------
Argh! Five of the old, three new.  Sorry about that.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
                   ` (5 preceding siblings ...)
  2004-11-10  2:52 ` jvdelisle at verizon dot net
@ 2004-12-11  5:59 ` jvdelisle at verizon dot net
  2004-12-11  6:34 ` jvdelisle at verizon dot net
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jvdelisle at verizon dot net @ 2004-12-11  5:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jvdelisle at verizon dot net  2004-12-11 05:59 -------
ICE on NIST FM252.f reduced case similar to pr#18827


      PROGRAM FM252
C
      ASSIGN 0012 TO I
 0012 FORMAT (" **** ASSIGN FORMAT NUMBER TO INTEGER VARIABLE ****" )

      END


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
                   ` (6 preceding siblings ...)
  2004-12-11  5:59 ` jvdelisle at verizon dot net
@ 2004-12-11  6:34 ` jvdelisle at verizon dot net
  2005-01-06 14:41 ` tobi at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jvdelisle at verizon dot net @ 2004-12-11  6:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jvdelisle at verizon dot net  2004-12-11 06:34 -------
Some regressions showing up: FM111 and FM252

FM111.f:241: internal compiler error: in gfc_add_modify_expr, at fortran/trans.c:154
FM252.f:115: internal compiler error: in gfc_add_modify_expr, at fortran/trans.c:154

gcc version 4.0.0 20041210 (experimental)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
                   ` (7 preceding siblings ...)
  2004-12-11  6:34 ` jvdelisle at verizon dot net
@ 2005-01-06 14:41 ` tobi at gcc dot gnu dot org
  2005-03-13 19:29 ` tobi at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-01-06 14:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |19292
              nThis|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
                   ` (8 preceding siblings ...)
  2005-01-06 14:41 ` tobi at gcc dot gnu dot org
@ 2005-03-13 19:29 ` tobi at gcc dot gnu dot org
  2005-04-30 17:57 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-03-13 19:29 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 17423 depends on bug 18600, which changed state.

Bug 18600 Summary: ICE NIST FM020.f reduced case
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18600

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
                   ` (9 preceding siblings ...)
  2005-03-13 19:29 ` tobi at gcc dot gnu dot org
@ 2005-04-30 17:57 ` pinskia at gcc dot gnu dot org
  2005-05-07 22:16 ` jvdelisle at verizon dot net
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-30 17:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-30 17:54 -------
The reduced testcase in Comment #7 still ICEs. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
                   ` (10 preceding siblings ...)
  2005-04-30 17:57 ` pinskia at gcc dot gnu dot org
@ 2005-05-07 22:16 ` jvdelisle at verizon dot net
  2005-05-15  3:25 ` pinskia at gcc dot gnu dot org
  2005-05-16  2:29 ` pinskia at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: jvdelisle at verizon dot net @ 2005-05-07 22:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jvdelisle at verizon dot net  2005-05-07 22:16 -------
A patch to fix the problem in comment #7 has been submitted for review.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
                   ` (11 preceding siblings ...)
  2005-05-07 22:16 ` jvdelisle at verizon dot net
@ 2005-05-15  3:25 ` pinskia at gcc dot gnu dot org
  2005-05-16  2:29 ` pinskia at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-15  3:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-15 03:25 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug fortran/17423] gfortran segfault when compiling FM509.f from NIST testsuite
  2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
                   ` (12 preceding siblings ...)
  2005-05-15  3:25 ` pinskia at gcc dot gnu dot org
@ 2005-05-16  2:29 ` pinskia at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-16  2:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-16 02:29 -------
*** Bug 17142 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |epc8 at juno dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17423


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-05-16  2:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-11 22:23 [Bug fortran/17423] New: gfortran segfault when compiling FM509.f from NIST testsuite jvdelisle at verizon dot net
2004-09-11 23:11 ` [Bug fortran/17423] " pinskia at gcc dot gnu dot org
2004-09-11 23:22 ` jvdelisle at verizon dot net
2004-09-12  0:53 ` bdavis at gcc dot gnu dot org
2004-09-12  0:56 ` pinskia at gcc dot gnu dot org
2004-11-10  2:45 ` jvdelisle at verizon dot net
2004-11-10  2:52 ` jvdelisle at verizon dot net
2004-12-11  5:59 ` jvdelisle at verizon dot net
2004-12-11  6:34 ` jvdelisle at verizon dot net
2005-01-06 14:41 ` tobi at gcc dot gnu dot org
2005-03-13 19:29 ` tobi at gcc dot gnu dot org
2005-04-30 17:57 ` pinskia at gcc dot gnu dot org
2005-05-07 22:16 ` jvdelisle at verizon dot net
2005-05-15  3:25 ` pinskia at gcc dot gnu dot org
2005-05-16  2:29 ` pinskia 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).