[Bug bootstrap/90819] [10 regression] -Walloc-size-larger-than error in trans-mem.c
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 10 21:35:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90819
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yeah, I see it too. The caller guarantees blocks.length () is at least 1 (as
it always pushes entry_block in there), so in
qlen = blocks.length () - 1;
qin = qout = worklist =
XNEWVEC (basic_block, qlen);
qlen is never -1U, but the compiler doesn't know this.
More information about the Gcc-bugs
mailing list