Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29393 Discussions

runtime integer overflow check possible?

dave_frank
Beginner
789 Views
/check:overflow switch used by command line compile.
re: runtime integer overflow k = n*1000000
is use of this switch orANY methodology allow runtime
detect of integer overflow?
If not, I suggest the DF /help message ought to say so.
Surprisingly, I could not find a answer to this question in the archives here.
.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
789 Views

CVF does support /check:overflow. Intel Fortran 8.0 does not at present, and this is stated in the release notes.

0 Kudos
Reply