https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66088
Vladimir changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66088
--- Comment #3 from Vladimir ---
Well, I doubt that modification of the static variable has no side effects.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66088
--- Comment #1 from Vladimir ---
Well, the build is broken when -Werror option is specified just like it is
expected, I've overlooked a typo.
: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: vshebordaev at mail dot ru
Target Milestone: ---
As of gcc 4.9.2, I get faulty -Wunused-but-set-variable warning (and broken
build with -Wall) in this case
1 struct test