https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803
--- Comment #30 from Martin Jambor <jamborm at gcc dot gnu.org> --- I have posted the following two patches to fix this issue to the mailing list. The second one also includes two simple C testcases: - https://gcc.gnu.org/ml/gcc-patches/2017-06/msg00833.html - https://gcc.gnu.org/ml/gcc-patches/2017-06/msg00834.html