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/35059] Seg fault when max constructor limit reached



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2008-02-29 22:51 -------
Subject: Bug 35059

Author: jvdelisle
Date: Fri Feb 29 22:50:25 2008
New Revision: 132782

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132782
Log:
2008-02-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR fortran/35059
        * expr.c (find_array_element): Modify traversing the constructor to
        avoid trying to access NULL memory pointed to by next for the
        last element. (find_array_section): Exit while loop if cons->next is
        NULL.
        * trans-expr.c (gfc_conv_scalar_char_value): Initialize gfc_typespec.
        (gfc_conv_function_call): Same.
        * decl.c (gfc_match_implicit): Same.
        * trans-intrinsic.c (gfc_conv_intrinsic_sr_kind): Same.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/fortran/trans-intrinsic.c


-- 


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


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