This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23905] New: misbehavior of function "gfc_copy_array_spec" in gcc/fortran/array.c
- From: "skyhover at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2005 22:35:29 -0000
- Subject: [Bug fortran/23905] New: misbehavior of function "gfc_copy_array_spec" in gcc/fortran/array.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The function is supposed to copy expressions from "src" to "dest", however, at
line 486 and 487:
dest->lower[i] = gfc_copy_expr (dest->lower[i]);
dest->upper[i] = gfc_copy_expr (dest->upper[i]);
"dest" are misused as the arguments in the parentheses. Both of them should be
"src", I think. Also, such mistyping are still in the CVS.
Thank you.
--
Summary: misbehavior of function "gfc_copy_array_spec" in
gcc/fortran/array.c
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: skyhover at hotmail dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: *-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23905