public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20244] New: internal compiler error: in fold_convert, at fold-const.c:2003
@ 2005-02-28 15:38 Luc dot Maisonobe at free dot fr
  2005-02-28 19:25 ` [Bug fortran/20244] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 18+ messages in thread
From: Luc dot Maisonobe at free dot fr @ 2005-02-28 15:38 UTC (permalink / raw)
  To: gcc-bugs

the message "internal compiler error: in fold_convert, at fold-const.c:2003" is
triggered when compiling a fortran 90 snippet. It appears with the binary
version available from Bud Davis gfortran page on 2005-02-28, which displays
itself as:

GNU F95 version 4.0.0 20050224 (experimental) (i686-pc-linux-gnu)
	compiled by GNU C version 4.0.0 20050223 (experimental).

It does not appear on the following older version:

gcc version 3.5.0 20040824 (experimental) (g95!) Dec 20 2004

I was able to reduce it to the following two files, but nothing shorter, and
nothing with one file only, sorry :-(


$ cat my_types.f90
module my_types
implicit none
  integer, parameter, public :: my_real = selected_real_kind(13)
type qr_type
   sequence
   real(my_real)                :: q
   real(my_real),dimension(1:3) :: r
end type qr_type
end module my_types
$ cat f.f90
subroutine f (a)
use my_types
implicit none
interface
   function g (u)
     use my_types
       real(my_real) , intent(in) :: u
       type(qr_type)              :: g
   end function g
end interface
real(my_real), dimension(3), intent(in) :: a
real(my_real) :: u
type(qr_type) :: v
v = g(u)
end subroutine f
$ gfortran -c my_types.f90 ; gfortran -v -c f.f90
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,f95
--prefix=/usr/work/2005055/irun
Thread model: posix
gcc version 4.0.0 20050224 (experimental)
 /home/luc/gfortran-tmp/irun/bin/../libexec/gcc/i686-pc-linux-gnu/4.0.0/f951
f.f90 -quiet -dumpbase f.f90 -mtune=pentiumpro -auxbase f -version -o
/home/luc/tmp/ccFhx16T.s
GNU F95 version 4.0.0 20050224 (experimental) (i686-pc-linux-gnu)
	compiled by GNU C version 4.0.0 20050223 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
f.f90: In function 'f':
f.f90:1: internal compiler error: in fold_convert, at fold-const.c:2003
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$

-- 
           Summary: internal compiler error: in fold_convert, at fold-
                    const.c:2003
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Luc dot Maisonobe at free dot fr
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2006-01-01  5:32 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20244-10180@http.gcc.gnu.org/bugzilla/>
2005-10-24 16:53 ` [Bug fortran/20244] internal compiler error: in fold_convert, at fold-const.c:2003 pinskia at gcc dot gnu dot org
2005-11-04 14:26 ` pinskia at gcc dot gnu dot org
2005-11-04 14:54 ` anglade at gmail dot com
2005-11-04 14:58 ` pinskia at gcc dot gnu dot org
2005-11-04 14:59 ` pinskia at gcc dot gnu dot org
2005-11-04 15:32 ` anglade at gmail dot com
2005-11-11 12:26 ` aj at gcc dot gnu dot org
2005-11-12 23:43 ` pinskia at gcc dot gnu dot org
2005-11-13  8:03 ` aj at gcc dot gnu dot org
2005-11-16 15:24 ` pinskia at gcc dot gnu dot org
2005-11-17 17:30 ` dwarak dot rajagopal at amd dot com
2005-12-13 12:50 ` paul dot richard dot thomas at cea dot fr
2005-12-22  7:06 ` pault at gcc dot gnu dot org
2005-12-26  9:08 ` pault at gcc dot gnu dot org
2005-12-26  9:10 ` pault at gcc dot gnu dot org
2005-12-29  6:18 ` pault at gcc dot gnu dot org
2006-01-01  5:32 ` pinskia at gcc dot gnu dot org
2005-02-28 15:38 [Bug fortran/20244] New: " Luc dot Maisonobe at free dot fr
2005-02-28 19:25 ` [Bug fortran/20244] " 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).