]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cppbuiltin.c
ipa-chkp.c: New.
[thirdparty/gcc.git] / gcc / cppbuiltin.c
index fbcd9b06c657ab897e9752675eff4c6a4a6b9c12..3fc2f8adb83496cf25bc5bed8fc7b2e7add324a9 100644 (file)
@@ -107,6 +107,9 @@ define_builtin_macros_for_compilation_flags (cpp_reader *pfile)
                        flag_finite_math_only);
   if (flag_cilkplus)
     cpp_define (pfile, "__cilk=200");
+
+  if (flag_check_pointer_bounds)
+    cpp_define (pfile, "__CHKP__");
 }