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/66911] ICE on allocate character with source as a derived type component


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66911

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #2 from kargl at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #1)
> Confirmed on gcc version 5.1.1 20150612, but this has been fixed on trunk
> (6.0) likely at r223445 (pr65548: r222994 gives the ICE).

troutmask:sgk[211] gfc6 -o z rt.f90
troutmask:sgk[212] ./z
           1
           2
Segmentation fault (core dumped)

Are you sure it's fixed on trunk?

(gdb) run ./z
Starting program: /mnt/sgk/tmp/z ./z
           1
           2

Program received signal SIGSEGV, Segmentation fault.
0x00000000004022c2 in g_mod::env_table_add (key=..., valeur=..., _key=3, 
    _valeur=2) at rt.f90:30
30                   environment_table(size(temp)+1)%key=key

gfc6 is gcc version 6.0.0 20150716


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