Suppose one has
Z = F(X, Y)
where F is a function that has a derived-type or array result.
Is it common for the optimizer to be clever enough to deduce the conditions
under which it is safe to pass Z to F as a hidden argument, or does the
generated code always have an anonymous temporary variable to hold the
result of F, followed by an intrinsic assignment of that temporary result
to Z?
--
What fraction of Americans believe | Van Snyder
Wrestling is real and NASA is fake? | [log in to unmask]
Any alleged opinions are my own and have not been approved or disapproved
by JPL, CalTech, NASA, Dan Goldin, Bill Clinton, the Pope, or anybody else.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|