[Bug tree-optimization/92323] bogus -Warray-bounds after unrolling despite __builtin_unreachable
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 30 15:50:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92323
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to work| |10.0
Resolution|--- |FIXED
Target Milestone|--- |10.0
--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
I didn't do anything to fix the test case but the warning for it is gone
because the loop isn't unrolled anymore. I added a test but it would be good
if Richi could confirm that it's safe to expect the unroller to avoid this
problem.
More information about the Gcc-bugs
mailing list