restrict keyword support

restrict keyword support

Hello,

Does icc actually performs alias optimizations with "restrict" keyword?

Thanks.

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

restrict keyword is ignored, unless you set the associated compiler flag. Consider also the ansi_alias flag. There remain situations restrict still does not take effect. Submit them to premier.intel.com.

Thanks

Too bad as I can see "restrict" keyword only got support on C source not C++.

Any plans to add support of it to C++ programs?

Ah, the compiler switch is "-restrict", please ignore above question.

Leave a Comment

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