__builtin_constant_p
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.
最新文章
- ZeroMQ接口函数之 :zmq_sendmsg – 从一个socket上发送一个消息帧
- Java程序的编码规范
- 大数据热点问题TOP K
- html+css-----补
- HTTPS 协议降级攻击原理
- Qt消息机制和事件(一)
- PHP获取搜索引擎关键字来源(百度、谷歌、雅虎、搜狗、搜搜、必应、有道)
- <;七>; jQuery 设置内容和属性
- LINQ如何递归子控件
- 一次向svn中增加所有新增文件 svn add all new files
- atitit.高级编程语言的特性 and 未来趋势与进化.doc
- python 计算两个日期相差多少个月
- 数据恢复培训资料:BMP文件详解
- iniReader,读取配置文件中数据
- 数据库索引 引用树形结构 B-数 B+数
- sklearn学习笔记
- C#取整函数Math.Round、Math.Ceiling和Math.Floor 【非原创,用来收藏,分享】
- CentOS下 NFS的简单使用以及windows 关在linux的NFS存储方法
- 【转】UML类图符号 6种关系说明以及举例
- centos7 莫名重起的问题
热门文章
- WordPress主题开发:实现分页功能
- Cannot subclass final class class com.sun.proxy.$Proxy
- Caused by: java.lang.IllegalArgumentException: Can not set int field reyo.sdk.enity.xxx.xxx to java.lang.Long
- java程序员必知的8大排序
- jquery.timers使用说明
- 混乱之子第七季/全集Sons of Anarchy迅雷下载
- ios之快速领会VFL的demo
- Android之多种Bitmap效果
- Universal-Image-Loader解析(一)——ImageLoaderConfiguration的详细配置
- django时区设置以及全球用户如何各自显示当地时间