http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55643
--- Comment #9 from Daniel Holbert 2012-12-11
19:20:34 UTC ---
Thanks for the quick turnaround!
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55643
--- Comment #3 from Daniel Holbert 2012-12-10
20:43:47 UTC ---
Created attachment 28918
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28918
testcase preprocessed file (from run w/ --save-temps)
For reference, here's the preprocess
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55643
--- Comment #2 from Daniel Holbert 2012-12-10
20:42:03 UTC ---
The command I'm using to compile is:
> g++-4.7 -Wall -std=c++11 gcc-warning-test.cpp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55643
--- Comment #1 from Daniel Holbert 2012-12-10
20:41:00 UTC ---
Created attachment 28917
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28917
testcase cpp file
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55643
Bug #: 55643
Summary: g++ 4.7 gives "warning: variable ‘myVar’ set but not
used [-Wunused-but-set-variable]" when an "enum
class"-typed variable is cast to double before use
Class