[Bug middle-end/34212] spurious warning: value computed is not used

pluto at agmk dot net gcc-bugzilla@gcc.gnu.org
Sat Nov 24 02:30:00 GMT 2007



------- Comment #1 from pluto at agmk dot net  2007-11-24 02:30 -------
the warning isn't emitted when i change ++r_ into r_++.
t.cpp.003t.original changes:

-  (void) NON_LVALUE_EXPR < ++((struct X<int,false> *) this)->r_> >>>
+  (void) ((struct X<int,false> *) this)->r_++  >>>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34212



More information about the Gcc-bugs mailing list