[Bug c/113769] GCC fails to warn of integer being used uninitialized

2024-02-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113769 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2024-02-05 Keywords|

[Bug c/113769] GCC fails to warn of integer being used uninitialized

2024-02-05 Thread symbioticfemale at cumallover dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113769 --- Comment #1 from SymbioticFemale --- Notably, it occurs with -Wall -Wextra -O2, etc. Integer size is irrelevant. Changing the function do_nothing to 'static inline' does not make a difference. It occurs with either pthread_mutex_t or pthread