public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/13679] New: ICE in fortran/trans-types.c:584
@ 2004-01-14 11:03 martin at mpa-garching dot mpg dot de
  2004-01-17  0:27 ` [Bug fortran/13679] [gfortran] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: martin at mpa-garching dot mpg dot de @ 2004-01-14 11:03 UTC (permalink / raw)
  To: gcc-bugs

gfortran from January 14 crashes on the following code:

--- begin code

module linebufmod
implicit none
private

public linebuf, linebuf_add

type linebuf
  character(len=80), dimension(:), pointer :: data=>NULL()
end type linebuf

contains

subroutine linebuf_add (buf)
  type(linebuf), intent(inout) :: buf
end subroutine linebuf_add

end module linebufmod

--- end code

~/tmp>gfortran -v -c bug1.f90
Reading specs from
/afs/mpa/data/martin/ugcc-ssa/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/specs
Configured with: /scratch/gcc-ssa/configure
--prefix=/afs/mpa/data/martin/ugcc-ssa --enable-languages=c++,f95
Thread model: posix
gcc version 3.5-tree-ssa 20040114 (merged 20040102)
 /afs/mpa/data/martin/ugcc-ssa/libexec/gcc/i686-pc-linux-gnu/3.5-tree-ssa/f951
bug1.f90 -quiet -dumpbase bug1.f90 -mtune=pentiumpro -auxbase bug1 -version -o
/tmp/ccLAIftD.s
GNU F95 version 3.5-tree-ssa 20040114 (merged 20040102) (i686-pc-linux-gnu)
        compiled by GNU C version 3.5-tree-ssa 20040114 (merged 20040102).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
bug1.f90:0: internal compiler error: in gfc_get_dtype_cst, at
fortran/trans-types.c:584
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE in fortran/trans-types.c:584
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martin at mpa-garching dot mpg dot de
                CC: gcc-bugs at gcc dot gnu dot org,martin at mpa-garching
                    dot mpg dot de
 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=13679


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

* [Bug fortran/13679] [gfortran] ICE in fortran/trans-types.c:584
  2004-01-14 11:03 [Bug fortran/13679] New: ICE in fortran/trans-types.c:584 martin at mpa-garching dot mpg dot de
@ 2004-01-17  0:27 ` pinskia at gcc dot gnu dot org
  2004-01-21 17:15 ` dhazeghi at yahoo dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-17  0:27 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|ICE in fortran/trans-       |[gfortran] ICE in
                   |types.c:584                 |fortran/trans-types.c:584
   Target Milestone|---                         |tree-ssa


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


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

* [Bug fortran/13679] [gfortran] ICE in fortran/trans-types.c:584
  2004-01-14 11:03 [Bug fortran/13679] New: ICE in fortran/trans-types.c:584 martin at mpa-garching dot mpg dot de
  2004-01-17  0:27 ` [Bug fortran/13679] [gfortran] " pinskia at gcc dot gnu dot org
@ 2004-01-21 17:15 ` dhazeghi at yahoo dot com
  2004-04-21  3:29 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-21 17:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-01-21 17:15 -------
Confirmed with current tree-ssa.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-21 17:15:24
               date|                            |


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


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

* [Bug fortran/13679] [gfortran] ICE in fortran/trans-types.c:584
  2004-01-14 11:03 [Bug fortran/13679] New: ICE in fortran/trans-types.c:584 martin at mpa-garching dot mpg dot de
  2004-01-17  0:27 ` [Bug fortran/13679] [gfortran] " pinskia at gcc dot gnu dot org
  2004-01-21 17:15 ` dhazeghi at yahoo dot com
@ 2004-04-21  3:29 ` pinskia at gcc dot gnu dot org
  2004-04-21 10:12 ` martin at mpa-garching dot mpg dot de
  2004-04-21 11:24 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-21  3:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-21 03:07 -------
This works on the tree-ssa for me now (it might be because of --disable-checking):
Driving: /Users/pinskia/gcc-tree-ssa/bin/gfortran pr13679.f90 -v -lgfortranbegin -lgfortran -
lm -shared-libgcc
Reading specs from /Users/pinskia/gcc-tree-ssa/lib/gcc/powerpc-apple-darwin7.3.0/3.5-
tree-ssa/specs
Configured with: /Users/pinskia/src/gcc-tree-ssa/gcc/configure --prefix=/Users/pinskia/
gcc-tree-ssa --enable-languages=c,c++,objc,f95 --disable-checking --disable-nls
Thread model: posix
gcc version 3.5-tree-ssa 20040417 (merged 20040414)
 /Users/pinskia/gcc-tree-ssa/libexec/gcc/powerpc-apple-darwin7.3.0/3.5-tree-ssa/f951 
pr13679.f90 -fPIC -quiet -dumpbase pr13679.f90 -auxbase pr13679 -version -o /var/tmp//
ccQOAwvb.s
GNU F95 version 3.5-tree-ssa 20040417 (merged 20040414) (powerpc-apple-
darwin7.3.0)
        compiled by GNU C version 3.5-tree-ssa 20040417 (merged 20040414).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
 as -arch ppc -o /var/tmp//ccBKjHyH.o /var/tmp//ccQOAwvb.s
 /Users/pinskia/gcc-tree-ssa/libexec/gcc/powerpc-apple-darwin7.3.0/3.5-tree-ssa/collect2 
-arch ppc -dynamic -o a.out -lcrt1.o -lcrt2.o -L/Users/pinskia/gcc-tree-ssa/lib/gcc/powerpc-
apple-darwin7.3.0/3.5-tree-ssa -L/Users/pinskia/gcc-tree-ssa/lib/gcc/powerpc-apple-
darwin7.3.0/3.5-tree-ssa/../../.. /var/tmp//ccBKjHyH.o -lgfortranbegin -lgfortran -lm -lgcc_s -
lgcc -lSystem |
 c++filt
/usr/bin/ld: Undefined symbols:
_MAIN__
collect2: ld returned 1 exit status

Can you try again?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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


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

* [Bug fortran/13679] [gfortran] ICE in fortran/trans-types.c:584
  2004-01-14 11:03 [Bug fortran/13679] New: ICE in fortran/trans-types.c:584 martin at mpa-garching dot mpg dot de
                   ` (2 preceding siblings ...)
  2004-04-21  3:29 ` pinskia at gcc dot gnu dot org
@ 2004-04-21 10:12 ` martin at mpa-garching dot mpg dot de
  2004-04-21 11:24 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: martin at mpa-garching dot mpg dot de @ 2004-04-21 10:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From martin at mpa-garching dot mpg dot de  2004-04-21 09:39 -------
The bug indeed seems to be gone in the current tree-ssa version;
I tested with and without --disable-checking.

What is the proper thing to do now? Mark it as resolved/fixed?


-- 


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


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

* [Bug fortran/13679] [gfortran] ICE in fortran/trans-types.c:584
  2004-01-14 11:03 [Bug fortran/13679] New: ICE in fortran/trans-types.c:584 martin at mpa-garching dot mpg dot de
                   ` (3 preceding siblings ...)
  2004-04-21 10:12 ` martin at mpa-garching dot mpg dot de
@ 2004-04-21 11:24 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-21 11:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-21 11:14 -------
Closing as fixed then.  Thanks for testing.

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


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


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

end of thread, other threads:[~2004-04-21 11:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-14 11:03 [Bug fortran/13679] New: ICE in fortran/trans-types.c:584 martin at mpa-garching dot mpg dot de
2004-01-17  0:27 ` [Bug fortran/13679] [gfortran] " pinskia at gcc dot gnu dot org
2004-01-21 17:15 ` dhazeghi at yahoo dot com
2004-04-21  3:29 ` pinskia at gcc dot gnu dot org
2004-04-21 10:12 ` martin at mpa-garching dot mpg dot de
2004-04-21 11:24 ` 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).