使用寄存器存储类说明符建议的程度是有效的 (6.7.1)。
有效寄存器声明数取决于每个函数内使用和定义的模式,并受可供分配的寄存器数的限制。不要求编译器和优化器接受寄存器声明。
使用 inline 函数说明符建议的程度是有效的 (6.7.4)。
只有在使用优化功能时,并且只有在优化器确定进行内联有益时,inline 关键字才能有效对代码进行内联。有关优化选项的列表,请参见A.1.1 优化和性能选项。