[Bug c++/17120] [3.5 regression] warning: suggest parentheses around assignment used as truth value
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Fri Aug 20 14:31:00 GMT 2004
------- Additional Comments From pcarlini at suse dot de 2004-08-20 14:31 -------
This is small testcase:
template<typename _Tp>
inline _Tp
cmath_power(_Tp __x, unsigned int __n)
{
while (__n >>= 1)
;
return __y;
}
int main()
{
cmath_power(1.0, 3);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17120
More information about the Gcc-bugs
mailing list