This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/15722] New: in gfortran character*(*) has some problems (see simple example)


I just compiled this CVS version of gcc:
--------------------------------------------------------------------------------
Reading specs from /hda3/gcc/lib/gcc/i686-pc-linux-gnu/3.5.0/specs
Configured with: ../gcc/configure --prefix=/hda3/gcc --enable-languages=c,c++,f95
Thread model: posix
gcc version 3.5.0 20040526 (experimental)
---------------------------------------------------------------------------------

I nailed the error to these 5 lines:

      subroutine readcv(title)
      character*(*) title(*)
      title(1)='title'
      return
      end
                                                                               
                                    
And the problem is:
-------------------------------------------------------------------------------
b2:/hda3/home/milan/c31a2# gfortran -c dynio.f
f951: ../../gcc/gcc/fortran/trans-decl.c:1703: gfc_trans_deferred_vars:
Assertion `((enum tree_code) (sym->backend_\decl)->common.code) == PARM_DECL'
failed.
dynio.f: In function `readcv':
dynio.f:4: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: in gfortran character*(*) has some problems (see simple
                    example)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: milan at cmm dot ki dot si
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]