]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/trans-expr.c
2008-02-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Feb 2008 22:50:25 +0000 (22:50 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Feb 2008 22:50:25 +0000 (22:50 +0000)
commit52179f31f52232daf3ee40f0d33cc48fba91ce03
tree6b8d4f59dabb468ef7b4fe96a4195f38a77e215b
parent4a2f7014a02f75166c378fa399539978ad4b8f0e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132782 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/expr.c
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c