------- Comment #13 from redi at gcc dot gnu dot org 2010-08-29 22:39 ------- Here's a reduced testcase, struct s is not relevant:
bool f(bool& b) {
b = true;
return false;
}
int main() {
bool b = false;
b |= f(b);
return b;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45437
