[Bug fortran/37199] array assignment from function writes out of bounds
domob at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 11 19:16:00 GMT 2008
------- Comment #8 from domob at gcc dot gnu dot org 2008-09-11 19:15 -------
Subject: Bug 37199
Author: domob
Date: Thu Sep 11 19:13:59 2008
New Revision: 140296
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140296
Log:
2008-09-08 Daniel Kraft <d@domob.eu>
PR fortran/37199
* trans-expr.c (gfc_add_interface_mapping): Set new_sym->as.
(gfc_map_intrinsic_function): Added checks against NULL bounds in
array specs.
2008-09-08 Daniel Kraft <d@domob.eu>
PR fortran/37199
* gfortran.dg/array_function_2.f90: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/array_function_2.f90
Modified:
branches/gcc-4_3-branch/gcc/fortran/ChangeLog
branches/gcc-4_3-branch/gcc/fortran/trans-expr.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37199
More information about the Gcc-bugs
mailing list