Attention is currently required from: Arthur Heymans, Hung-Te Lin, Yidi Lin.
Yu-Ping Wu has posted comments on this change by Arthur Heymans. ( https://review.coreboot.org/c/coreboot/+/84208?usp=email )
Change subject: include/assert.h: Deal with GCC LTO false positives
......................................................................
Patch Set 5: Code-Review+2
(1 comment)
File src/include/assert.h:
https://review.coreboot.org/c/coreboot/+/84208/comment/462eec44_0a0db01d?usp... :
PS5, Line 28: (__builtin_constant_p(x) && !(CONFIG(LTO) && CONFIG(COMPILER_GCC)) ? \
I wonder if it would be clearer to write
```
#if CONFIG(LTO) && CONFIG(COMPILER_GCC)
#define __build_time_assert(x) 0
#else
#define __build_time_assert(x) (__builtin_constant_p ...
#endif
```
--
To view, visit
https://review.coreboot.org/c/coreboot/+/84208?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I6185e87a374f8722dba545d6bbce1c3a8de53e7e
Gerrit-Change-Number: 84208
Gerrit-PatchSet: 5
Gerrit-Owner: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Hung-Te Lin
hungte@chromium.org
Gerrit-Reviewer: Yidi Lin
yidilin@google.com
Gerrit-Reviewer: Yu-Ping Wu
yupingso@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Attention: Hung-Te Lin
hungte@chromium.org
Gerrit-Attention: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Attention: Yidi Lin
yidilin@google.com
Gerrit-Comment-Date: Mon, 09 Sep 2024 03:59:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes