public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/23675] New: ICE in gfc_finish_var_decl (string manipulation)
@ 2005-09-01  9:45 thomas dot lavergne at jrc dot it
  2005-09-04 20:45 ` [Bug fortran/23675] " fxcoudert at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: thomas dot lavergne at jrc dot it @ 2005-09-01  9:45 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2397 bytes --]

I do not know how this bug is linked to others (e.g. 18883), I let you decide.
It was on GNU Fortran 95 (GCC 4.0.0) and is still in the 4.1 snapshot I build 
yesterday (gcc-4.1-20050826).

I get a ICE on that file (cutils.f95): (!==== lines are part of the file) The 
reported function is 'inttochar2' althoug the reported line is 7 (which is the 
line public::IntToChar2).

[:prompt:] cat cutils.f95
!================
module cutils
  implicit none
  private
   
  integer :: maxStringLength = 25
  public :: IntToChar2
contains
 
  elemental function IntToChar2(integerValue)
    integer,              intent( in) :: integerValue
    character(len = maxStringLength)  :: IntToChar2
    !
    !   Creates the character representation of an integer.
    !
 
    write(IntToChar2, *) integerValue
  end function IntToChar2
   
end module cutils
!================
[:prompt:] gfortran-4.1-20050826 -v -c cutils.f95
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /mtvhome/laverth/TOOLS/GCCsnap/gcc-4.1-20050826/configure --
prefix=/home1/laverth/TOOLS/GCCsnap/gcc41snap --program-suffix=-4.1-20050826 --
with-local-prefix=/home1/laverth/TOOLS/GCCsnap/include --enable-languages=c,f95 
--disable-libgcj --with-mpfr=/usr/local
Thread model: posix
gcc version 4.1.0 20050826 (experimental)
 /home1/laverth/TOOLS/GCCsnap/gcc41snap/libexec/gcc/i686-pc-linux-gnu/4.1.0/f951 
cutils.f95 -quiet -dumpbase cutils.f95 -mtune=pentiumpro -auxbase cutils -
version -o /tmp/ccfwaq3u.s
GNU F95 version 4.1.0 20050826 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 4.1.0 20050826 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
cutils.f95: In function ‘inttochar2’:
cutils.f95:7: internal compiler error: in gfc_finish_var_decl, at fortran/trans-
decl.c:438
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE in gfc_finish_var_decl (string manipulation)
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: thomas dot lavergne at jrc dot it
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)
  2005-09-01  9:45 [Bug fortran/23675] New: ICE in gfc_finish_var_decl (string manipulation) thomas dot lavergne at jrc dot it
@ 2005-09-04 20:45 ` fxcoudert at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-09-04 20:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-04 20:45 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-04 20:45:40
               date|                            |


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


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

end of thread, other threads:[~2005-09-04 20:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-01  9:45 [Bug fortran/23675] New: ICE in gfc_finish_var_decl (string manipulation) thomas dot lavergne at jrc dot it
2005-09-04 20:45 ` [Bug fortran/23675] " fxcoudert 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).