限制指针C:与Noalias比较 数字C扩展组,别名小组委员会 最终报告:草案2,X3J11 / 94-019,WG14 / N334 [ http://www.lysator.liu.se/c/restrict...n-with-noalias ] 代码生成的Gcc选项: -falias-check -fargument-alias -fargument-noalias -fno-argument-noalias-global [ http://www.delorie .com / gnu / docs / gcc / gcc_13.html ] - Guy Macon < ; http://www.guymacon.com/> It appears to be working now. The more I read about this sort of thing, the more thatI agree with the idea that God made machine language andall the rest is the work of man... :) Here are some additional references: Noalias: excerpt from the ANSI C draft of January 1988 -Dennis Ritchie[ http://www.quut.com/c/noalias-88.html ] Noalias: Official comment to X3J11 -Dennis Ritchie[ http://www.quut.com/c/dmr-on-noalias.html ] C166 user''s Guide: NOALIAS Compiler Directive[ http://www.keil.com/support/man/docs...66_noalias.htm ] Restricted Pointers in C: Comparison with NoaliasNumerical C Extensions Group, Aliasing SubcommitteeFinal Report: Draft 2, X3J11/94-019, WG14/N334[ http://www.lysator.liu.se/c/restrict...n-with-noalias ] Gcc Options for Code Generation:-falias-check-fargument-alias-fargument-noalias-fno-argument-noalias-global[ http://www.delorie.com/gnu/docs/gcc/gcc_13.html ] --Guy Macon<http://www.guymacon.com/> " noalias"是一个早期的提议来处理C语言中的别名/非别名 问题。丹尼斯·里奇(Dennis Ritchie)和其他一些人都承认,这个提议完全被打破了。这个 然后用restrict替换。指针这是一个理智的解决方案来解决这个问题。 "noalias" was an early proposal to handle aliasing/non-aliasingproblems in the C language. That proposal turned out to be completelybroken, as Dennis Ritchie and probably some others recognised. Thiswas then replaced with "restrict" pointers which is a sane solution tothe problem. 这篇关于丹尼斯·里奇(Dennis Ritchie)正在咆哮的是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-10 23:45