[Bug fortran/29634] ICE in variable_decl, for function returning a derived type

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 10 17:08:00 GMT 2006



------- Comment #5 from pault at gcc dot gnu dot org  2006-11-10 17:08 -------
Subject: Bug 29634

Author: pault
Date: Fri Nov 10 17:08:11 2006
New Revision: 118658

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118658
Log:
2006-11-10  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29539
        PR fortran/29634
        * decl.c (variable_decl): Add test for presence of proc_name.
        (gfc_match_data_decl): Only emit error if there are none
        already flagged.
        * error.c (gfc_error_flag_test): New function.
        * gfortran.h : Prototype for gfc_error_flag_test.

2006-11-10  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29539
        * gfortran.dg/gfortran.dg/blockdata_3.f90: New test.

        PR fortran/29634
        * gfortran.dg/gfortran.dg/derived_function_interface_1.f90: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/blockdata_3.f90
   
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/derived_function_interface_1.f90
Modified:
    branches/gcc-4_2-branch/gcc/fortran/ChangeLog
    branches/gcc-4_2-branch/gcc/fortran/decl.c
    branches/gcc-4_2-branch/gcc/fortran/error.c
    branches/gcc-4_2-branch/gcc/fortran/gfortran.h
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list