https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66066
--- Comment #16 from Steve Ellcey <sje at gcc dot gnu.org> --- I tried Marek's patch and it fixed the build issue with glibc. I did get a few new errors that I think are caused by this change: FAIL: g++.dg/warn/overflow-warn-1.C -std=gnu++98 (test for excess errors) FAIL: g++.dg/warn/overflow-warn-1.C -std=gnu++11 (test for excess errors) FAIL: g++.dg/warn/overflow-warn-1.C -std=gnu++14 (test for excess errors) FAIL: g++.dg/warn/overflow-warn-3.C -std=gnu++98 (test for excess errors) FAIL: g++.dg/warn/overflow-warn-3.C -std=gnu++11 (test for excess errors) FAIL: g++.dg/warn/overflow-warn-3.C -std=gnu++14 (test for excess errors) FAIL: g++.dg/warn/overflow-warn-4.C -std=gnu++98 (test for excess errors) FAIL: g++.dg/warn/overflow-warn-4.C -std=gnu++11 (test for excess errors) FAIL: g++.dg/warn/overflow-warn-4.C -std=gnu++14 (test for excess errors)