summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/unreachable-0.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/req/unreachable-0.yml')
-rw-r--r--spec/rtems/basedefs/req/unreachable-0.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/unreachable-0.yml b/spec/rtems/basedefs/req/unreachable-0.yml
new file mode 100644
index 00000000..fb30d41c
--- /dev/null
+++ b/spec/rtems/basedefs/req/unreachable-0.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: requirement-refinement
+ uid: ../if/unreachable
+non-functional-type: interface
+rationale: |
+ The use of this macro will suppress some compiler warnings
+ and may permit some compiler optimizations.
+references: []
+requirement-type: non-functional
+text: |
+ When the code is compiled with the GNU C compiler,
+ and the ${../if/unreachable:/name} macro is placed in a part of
+ the code which control flow can under no circumstances ever reach,
+ the macro shall inform the compiler that this place in code
+ cannot be reached.
+type: requirement