From: Paolo Carlini Date: Mon, 25 Jan 2010 23:25:48 +0000 (+0000) Subject: testsuite_common_types.h (has_bitwise_operators): Avoid -Wall warnings. X-Git-Tag: releases/gcc-4.5.0~1069 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=024615bfedb7d7a7fd04492c2098b7a486df54b4;p=thirdparty%2Fgcc.git testsuite_common_types.h (has_bitwise_operators): Avoid -Wall warnings. 2010-01-25 Paolo Carlini * testsuite/util/testsuite_common_types.h (has_bitwise_operators): Avoid -Wall warnings. From-SVN: r156221 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4cea65dd9a9d..e152d2ca1cc2 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2010-01-25 Paolo Carlini + + * testsuite/util/testsuite_common_types.h (has_bitwise_operators): + Avoid -Wall warnings. + 2010-01-25 Paolo Carlini * testsuite/22_locale/time_get/get_monthname/char/6.cc: Use an int diff --git a/libstdc++-v3/testsuite/util/testsuite_common_types.h b/libstdc++-v3/testsuite/util/testsuite_common_types.h index ac2684ad09b9..fd60b79c8979 100644 --- a/libstdc++-v3/testsuite/util/testsuite_common_types.h +++ b/libstdc++-v3/testsuite/util/testsuite_common_types.h @@ -426,12 +426,12 @@ namespace __gnu_test { void __constraint() { - _Tp a; - _Tp b; a |= b; // set a &= ~b; // clear a ^= b; } + _Tp a; + _Tp b; }; void (_Concept::*__x)() __attribute__((unused))