https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128692

Avinash Jayakar <avinashd at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |avinashd at gcc dot gnu.org

--- Comment #2 from Avinash Jayakar <avinashd at gcc dot gnu.org> ---
Created attachment 66191
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=66191&action=edit
Add 8 byte attribute length to the p10 wide-immediate fusion

The libsanitizer failure was easier to reproduce with a cross compiler. Looks
like the shorten branches pass underestimates the size of the blocks because of
incorrect attributes given to these fusion patterns in the patch. (it took the
default as 4 bytes but emitted 2 instructions which would be 8 bytes). Adding
this attribute, I do not see an assembler error with libsanitizer.

Some more information, the new patterns were added in
9833d3d84694c57e10af82f5284c9d3e03d15d91 to fix PR108018, but the attribute
length was missed out.

I will verify if this patch also fixes the bootstrap build.

Reply via email to