docs/misra: document gcc-specific behavior with shifting signed integers

Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Stefano Stabellini committed 2023-08-30 18:59:52 -07:00
1 parent 1f2f5087c0
commit 1b7dc185f8
1 file changed
+9
+9
View File
@@ -200,6 +200,15 @@ The table columns are as follows:
- ARM64, X86_64 - ARM64, X86_64
- See Section "6.29 Designated Initializers" of GCC_MANUAL - See Section "6.29 Designated Initializers" of GCC_MANUAL
* - Signed << compiler-defined behavior
- All architectures
- See Section "4.5 Integers" of GCC_MANUAL. As an extension to the
C language, GCC does not use the latitude given in C99 and C11
only to treat certain aspects of signed << as undefined.
* - Signed >> acts on negative numbers by sign extension
- All architectures
- See Section "4.5 Integers" of GCC_MANUAL.
Translation Limits Translation Limits
__________________ __________________
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.