[Bug c/105323] assignment that is unused afterwards is not reported

2022-05-14 Thread floridsleeves at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105323 --- Comment #2 from Li Zhong --- Any further comment on this? To do data flow analysis in local variable relatively costs less time and can definitely help developers find more bugs like forgetting return value, etc.

[Bug c/105323] New: Unused assignment does not get reported

2022-04-20 Thread floridsleeves at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105323 Bug ID: 105323 Summary: Unused assignment does not get reported Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c