summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/unreachable-0.yml
blob: d50f78eb1bf699cde32da52ce421f8df86910da2 (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 (http://www.embedded-brains.de)
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