http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56937
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-12 21:28:53 UTC --- (In reply to comment #1) > Is the following code valid? ... > idx = [2,2,2,2] > r(idx) = p ... I think it is valid - except for "r(idx) = p" which is invalid. See F2008 quote at the bottom of comment 0 for the reason.