https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92113
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bergner at gcc dot gnu.org
--- Comment #4 from Peter Bergner <bergner at gcc dot gnu.org> ---
Since this works at -O1 and not -O2, I went through the options enabled by -O2
and disabled them one by one. I was able to get the test cases to pass at -O2
by specifying -fno-tree-vrp. Maybe GCC 9 and trunk have some VRP patch that
fixes this?