As noted by richi, gcc fails to bootstrap with --enable-build-with-cxx: gcc/tree-flow-inline.h:854:8: error: variable 't' set but not used [-Werror=unused-but-set-variable]
--
Summary: -Wunused-but-set-variable vs. explicit void cast
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44361
