summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-25 23:25:48 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-25 23:25:48 +0000
commit3b96971cee1f780f5566a866bffda61ce875c1b4 (patch)
treea552eb333351159c4f9327e773b513973948ffa1 /libstdc++-v3
parenta0a0ff4412473db8ad1ab94ef72b0861f6bfdaf0 (diff)
downloadgcc-3b96971cee1f780f5566a866bffda61ce875c1b4.tar.gz
2010-01-25 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/util/testsuite_common_types.h (has_bitwise_operators): Avoid -Wall warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156221 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_common_types.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 4cea65dd9a9..e152d2ca1cc 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,10 @@
2010-01-25 Paolo Carlini <paolo.carlini@oracle.com>
+ * testsuite/util/testsuite_common_types.h (has_bitwise_operators):
+ Avoid -Wall warnings.
+
+2010-01-25 Paolo Carlini <paolo.carlini@oracle.com>
+
* testsuite/22_locale/time_get/get_monthname/char/6.cc: Use an int
as loop variable, to avoid -Wall warnings.
* testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
diff --git a/libstdc++-v3/testsuite/util/testsuite_common_types.h b/libstdc++-v3/testsuite/util/testsuite_common_types.h
index ac2684ad09b..fd60b79c897 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))