https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109474
--- Comment #2 from Barry Revzin <barry.revzin at gmail dot com> --- Serves me right for only checking vector<int> (which worked) and vector<bool> (which didn't) and not bothering to check vector<int> const (which also doesn't work) and thus overly complicating the bug report. I got too excited that vector<bool> played an important role I guess.