aboutsummaryrefslogtreecommitdiffstats
path: root/cfrontend
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-02-19 19:56:16 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2017-02-19 19:56:16 +0100
commit2994087f111a1fc8e9d52cb9370dfdd9c0157f00 (patch)
treeda992238ec64cfa8de0a9462ba0aa7634727dbc4 /cfrontend
parentaa59d2dd11570e8cea3d8c429b94acf1001e2cc6 (diff)
downloadcompcert-kvx-2994087f111a1fc8e9d52cb9370dfdd9c0157f00.tar.gz
compcert-kvx-2994087f111a1fc8e9d52cb9370dfdd9c0157f00.zip
Added gcc noinline attribute.
The noinline attribute prevents functions from inlining.
Diffstat (limited to 'cfrontend')
-rw-r--r--cfrontend/C2C.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/cfrontend/C2C.ml b/cfrontend/C2C.ml
index eecda71b..3bd1eea0 100644
--- a/cfrontend/C2C.ml
+++ b/cfrontend/C2C.ml
@@ -271,6 +271,7 @@ let attributes = [
("packed", Cutil.Attr_struct);
(* function-related *)
("noreturn", Cutil.Attr_function);
+ ("noinline",Cutil.Attr_function);
(* name-related *)
("section", Cutil.Attr_name);
("unused", Cutil.Attr_name)