summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/unreachable-0.yml
blob: 8373a9342054d07fd573d1caf49595c94046161e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
enabled-by: true
functional-type: function
links:
- role: interface-function
  uid: ../if/unreachable
rationale: |
  The use of this macro will suppress some compiler warnings
  and may permit some compiler optimizations.
references: []
requirement-type: 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