repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
match.pd: Fix indefinite recursion during exp-log transformations [PR118490]
[gcc.git]
/
libstdc++-v3
/
testsuite
/
23_containers
/
vector
/
bool
/
110807.cc
blob
2e9d4019edbee0c9f82fb89fa270f2b74c65ded1
1
// { dg-options "-O2" }
2
// { dg-do compile { target c++11 } }
3
4
// Bug 110807
5
// Copy list initialisation of a vector<bool> raises a warning with -O2
6
7
#include <vector>
8
9
std
::
vector
<
bool
>
byCallSpread
;
10
11
void
f
()
12
{
13
byCallSpread
= {
true
};
14
}