This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31593] Invariant DO loop variables and subroutines
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Apr 2007 00:14:52 -0000
- Subject: [Bug fortran/31593] Invariant DO loop variables and subroutines
- References: <bug-31593-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from tobi at gcc dot gnu dot org 2007-04-17 01:14 -------
(In reply to comment #3)
> call output (p1, p2, p3, p4)
>
> That still clobbers p1, p2, p3, and p4 as they are passed by reference so is it
> really undefined code if output changes the values for the do loop?
Yes.
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-04-17 01:14:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31593