[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:38:00 GMT 2014


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

--- Comment #6 from Mikael Morin <mikael at gcc dot gnu.org> ---
Author: mikael
Date: Sat Feb  8 20:37:55 2014
New Revision: 207634

URL: http://gcc.gnu.org/viewcvs?rev=207634&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_8-branch/gcc/testsuite/gfortran.dg/default_initialization_7.f90
Modified:
    branches/gcc-4_8-branch/gcc/fortran/ChangeLog
    branches/gcc-4_8-branch/gcc/fortran/primary.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list