您的位置:首页 > 其它

ifort 中的几个有用的调试程序选项

2009-12-31 08:40 288 查看
-WB turn a compile-time bounds check into a warning

-Wcheck enable more strict diagnostics

-Winline enable inline diagnostics

-[no]traceback

specify whether the compiler generates PC correlation data used to

display a symbolic traceback rather than a hexadecimal traceback at

runtime failure

-heap-arrays

temporary arrays of minimum size n (in kilobytes) are allocated in

heap memory rather than on the stack. If n is not specified,

all temporary arrays are allocated in heap memory.

-fp-stack-check

enable fp stack checking after every function/procedure call

-warn <keyword>

specifies the level of warning messages issued

keywords: all, none (same as -nowarn)

[no]alignments, [no]declarations, [no]errors,

[no]general, [no]ignore_loc, [no]interfaces,

[no]stderrors, [no]truncated_source, [no]uncalled,

[no]unused, [no]usage

返回断错误处,严格的检查,调试程序很有用处。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: