diff options
Diffstat (limited to 'spec/rtems/basedefs/req/predict-true-0.yml')
-rw-r--r-- | spec/rtems/basedefs/req/predict-true-0.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/rtems/basedefs/req/predict-true-0.yml b/spec/rtems/basedefs/req/predict-true-0.yml index 6f1aaf95..ec3fdf65 100644 --- a/spec/rtems/basedefs/req/predict-true-0.yml +++ b/spec/rtems/basedefs/req/predict-true-0.yml @@ -2,10 +2,10 @@ SPDX-License-Identifier: CC-BY-SA-4.0 copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) enabled-by: true +functional-type: function links: - role: interface-function uid: ../if/predict-true -non-functional-type: interface rationale: | Example: ``if ( ${../if/predict-true:/name}( 99 > i ) ) { ... }``. The GNU C compiler uses this information for branch optimization. @@ -14,7 +14,7 @@ rationale: | "the result is 1" not "the result is not 0" as one would expect for ``true``. references: [] -requirement-type: non-functional +requirement-type: functional text: | When the code is compiled with the GNU C compiler, and the ${../if/predict-true:/name} macro is used as a conditional |