[Bug fortran/57033] [4.7/4.8/4.9 Regression] ICE on extended derived type and default initialization

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 8 20:51:00 GMT 2014


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

--- Comment #7 from Mikael Morin <mikael at gcc dot gnu.org> ---
Author: mikael
Date: Sat Feb  8 20:51:01 2014
New Revision: 207635

URL: http://gcc.gnu.org/viewcvs?rev=207635&root=gcc&view=rev
Log:
fortran/
       PR fortran/57033
       * primary.c (gfc_convert_to_structure_constructor): Avoid null pointer
       dereference.

testsuite/
        PR fortran/57033
        * gfortran.dg/default_initialization_7.f90: New test.


Added:
   
branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/default_initialization_7.f90
Modified:
    branches/gcc-4_7-branch/gcc/fortran/ChangeLog
    branches/gcc-4_7-branch/gcc/fortran/primary.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list