int __builtin_constant_p (exp);

You can use the built-in function __builtin_constant_p to determine if a value is known to be constant at compile-time and hence that GCC can perform constant-folding on expressions involving that value. The argument of the function is the value to test. The function returns the integer 1 if the argument is known to be a compile-time constant and 0 if it is not known to be a compile-time constant. A return of 0 does not indicate that the value is not a constant, but merely that GCC cannot prove it is a constant with the specified value of the '-O' option.

 

Constant folding is the process of recognizing and evaluating constant expressions at compile time rather than computing them at runtime.

最新文章

  1. ZeroMQ接口函数之 :zmq_sendmsg – 从一个socket上发送一个消息帧
  2. Java程序的编码规范
  3. 大数据热点问题TOP K
  4. html+css-----补
  5. HTTPS 协议降级攻击原理
  6. Qt消息机制和事件(一)
  7. PHP获取搜索引擎关键字来源(百度、谷歌、雅虎、搜狗、搜搜、必应、有道)
  8. <七> jQuery 设置内容和属性
  9. LINQ如何递归子控件
  10. 一次向svn中增加所有新增文件 svn add all new files
  11. atitit.高级编程语言的特性 and 未来趋势与进化.doc
  12. python 计算两个日期相差多少个月
  13. 数据恢复培训资料:BMP文件详解
  14. iniReader,读取配置文件中数据
  15. 数据库索引 引用树形结构 B-数 B+数
  16. sklearn学习笔记
  17. C#取整函数Math.Round、Math.Ceiling和Math.Floor 【非原创,用来收藏,分享】
  18. CentOS下 NFS的简单使用以及windows 关在linux的NFS存储方法
  19. 【转】UML类图符号 6种关系说明以及举例
  20. centos7 莫名重起的问题

热门文章

  1. WordPress主题开发:实现分页功能
  2. Cannot subclass final class class com.sun.proxy.$Proxy
  3. Caused by: java.lang.IllegalArgumentException: Can not set int field reyo.sdk.enity.xxx.xxx to java.lang.Long
  4. java程序员必知的8大排序
  5. jquery.timers使用说明
  6. 混乱之子第七季/全集Sons of Anarchy迅雷下载
  7. ios之快速领会VFL的demo
  8. Android之多种Bitmap效果
  9. Universal-Image-Loader解析(一)——ImageLoaderConfiguration的详细配置
  10. django时区设置以及全球用户如何各自显示当地时间