https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108701
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- That is clang does not warn about this case here (changed all tabs to spaces to indepdent of -ftabstop option): ``` int randBytesGet() { int t; while (true) { if (true) return 0; #if 0 int random = rand(); #endif t = 0; } return t; } ``` GCC correctly warns about the `t = 0;` statement: ``` <source>: In function 'int randBytesGet()': <source>:8:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 8 | if (true) | ^~ <source>:13:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 13 | t = 0; | ^ ```