The best solution is wanted.

The best solution is wanted.

How to make this code better in Fortran 2003?


	IF A == 1 THEN

	(STATEMENTS)

	I

	…

	100 …

	

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

If the statement with number 100 occurs immediately after the IF...END IF block, all the statements similar to and including IF(B == 1) GOTO 100 are superfluous.

.NOT.(100 occurs immediately after the IF...END IF block)

Check the logic in lines 03:04 and repost.

Leave a Comment

Please sign in to add a comment. Not a member? Join today