[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug fortran/70149] [F08] Character pointer initialization causes ICE
From:       "pault at gcc dot gnu.org" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2018-09-30 7:03:26
Message-ID: bug-70149-4-2bozJgC8Dk () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

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

--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sun Sep 30 07:02:49 2018
New Revision: 264721

URL: https://gcc.gnu.org/viewcvs?rev=264721&root=gcc&view=rev
Log:
2018-09-30  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/70149
        * trans-decl.c (gfc_get_symbol_decl): A deferred character
        length pointer that is initialized needs the string length to
        be initialized as well.

2018-09-30  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/70149
        * gfortran.dg/deferred_character_24.f90 : New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/deferred_character_24.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic