------- Comment #2 from burnus at gcc dot gnu dot org  2009-05-15 20:23 -------
(In reply to comment #1)
> I disagree with you as does the F95 standard

Sorry, I cannot find anywhere in the standard that one has to emit four
warnings. First, I think that one warning for a real loop variable is enough
(if the loop variable is integer, but e.g. step is real, I of cause expect a
warning there). Second, one can also emit a warning stating:

Warning: Deleted feature: Loop variable and start, stop, and step expression at
(1) must [all] be integer [but are all real]

where [...] is optional text to really stress that all four constrains are
violated.


-- 


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

Reply via email to