Hi, I get this error while compiling with fortran 10:
Severe: Statement too long
Due to the nature of my program is not feasible to break the statement in shorter parts. What can I do? Is there a way to increase the length of statements taken by fortran?
Pablo
連結已複製
4 回應
Iam surelynotthe only one to be curious to see this standard-breaking statement? How many continuation lines are there? Compaq VF (my compiler) allows up to 511 continuation lines. How about IVF?
The same at 511. I believe the compiler accepts source lines around 1400 characters each. I notice that the error reporting is not too many continuations.
Has an example source file been submitted to Intel Premier Support? I had heard that a report of a similar or perhaps the same error was submitted last week but with no example.
Has an example source file been submitted to Intel Premier Support? I had heard that a report of a similar or perhaps the same error was submitted last week but with no example.
I have seen the source now; it seems to have been created by a program generator. The statement in question has 51 continuation lines but each source line is about 2200 characters on average with some as high as 2265, and it is a very dense expression with lots of tokens on each line that overflows a compiler internal limit, already extremely high, on statement complexity.
I don't know yet what the developers will respond, but my advice is to change the program generator so that it creates more reasonable source code, as this particular source, at least, would choke many compilers that I know of.
I don't know yet what the developers will respond, but my advice is to change the program generator so that it creates more reasonable source code, as this particular source, at least, would choke many compilers that I know of.
