Aldy Hernandez <al...@redhat.com> writes: > Torvald has a testcase from the STAMP benchmark that is showing a memory > corruption error after my fix to publication safety problems. > > The problem is we're allocating a chunk of worklist memory of size > n_basic_blocks which changes with tail merge optimization and such. We end > up with a smaller n_basic_blocks than some of the BB's left in the region. > I believe what we want is last_basic_block. > > This fixes the memory corruption bug. I couldn't minimize a sensible > testcase.
Could this be PR middle-end/52463 libitm.c/memcpy-1.c FAILs? Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University