[Bug fortran/23905] misbehavior of function "gfc_copy_array_spec" in gcc/fortran/array.c

skyhover at hotmail dot com gcc-bugzilla@gcc.gnu.org
Sat Sep 24 22:33:00 GMT 2005


------- Additional Comments From skyhover at hotmail dot com  2005-09-24 22:32 -------
Yes, you made me clear now. "dest->lower" points to the same thing as "src-
>lower" after "*dest=*src". So the loop is semantically right, creating copies 
of expressions pointed to by "src->lower". 

On the other hand, IMHO, it is a "syntax" misuse which obfuscates the meaning 
of the code?

Thanks for your clarification.


-- 


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



More information about the Gcc-bugs mailing list