Typical Suppressions Usage Model Using the GUI

The following is the typical usage model for handling GUI-created suppression rules in the Intel Inspector:

  1. In the Target tab of the Project Properties dialog box, set Suppressions to Apply suppressions.

  2. Do one of the following:

    • Collect a new result.

    • Open an existing result (collected using the Intel Inspector GUI or command line interface).

  3. Define a suppression rule based on one or more code locations in a problem. Save the new suppression rule to the default.sup file or create a new .sup file in the default suppression directory for the project.

    Outcome: In the Code Locations and Problems panes, the Intel Inspector marks (strikes through) all result data potentially impacted by the rules in the file. (It may take some time for all marks to appear. The marks remain in the result even if you close and then reopen the result.)

  4. Review the marked data to assess the effectiveness and potential reach of the rule. If necessary, delete the rule and start over, or edit the suppression file in a text editor.

  5. Repeat steps 3 and 4 as necessary.

  6. Run a new analysis using the Intel Inspector GUI or command line interface.

    Outcome: The Intel Inspector does not collect result data impacted by the new suppression rule(s) and the rules in any other files and directories identified in the Suppressions tab of the Project Properties dialog box.

For more complete information about compiler optimizations, see our Optimization Notice.