This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23905] misbehavior of function "gfc_copy_array_spec" in gcc/fortran/array.c
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2005 02:34:32 -0000
- Subject: [Bug fortran/23905] misbehavior of function "gfc_copy_array_spec" in gcc/fortran/array.c
- References: <20050915223526.23905.skyhover@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kargl at gcc dot gnu dot org 2005-09-16 02:34 -------
I'm not sure what this function is really accomplishing. The
line "*dest = *src;" isn't copying src to dest. We simply
have set *dest to point to src. So, the for loop is a NOP.
Of course, I could be missing something. Time to dig through
the ChnageLog.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23905