https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64918 --- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- There isn't currently an option to disable this warning.