[Bug c/108701] New: Incorrect -Wmisleading-indentation

2023-02-07 Thread apjo at tuta dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108701 Bug ID: 108701 Summary: Incorrect -Wmisleading-indentation Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/108701] Incorrect -Wmisleading-indentation

2023-02-07 Thread apjo at tuta dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108701 apjo at tuta dot io changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #6 from apjo

[Bug c/108701] Incorrect -Wmisleading-indentation

2023-02-07 Thread apjo at tuta dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108701 apjo at tuta dot io changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #5 from apjo

[Bug c/108701] Incorrect -Wmisleading-indentation

2023-02-07 Thread apjo at tuta dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108701 apjo at tuta dot io changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug c/108701] Incorrect -Wmisleading-indentation

2023-02-07 Thread apjo at tuta dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108701 --- Comment #11 from apjo at tuta dot io --- (In reply to Andrew Pinski from comment #10) Okay now that looks like a clang bug. Clang is supposed to diagnose misleading indentation like that (see: https://godbolt.org/z/1fv4rEseo).