https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089
Alexander Klepikov <klepikov.alex+bugs at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #55503|0 |1 is obsolete| | Attachment #55513|0 |1 is obsolete| | --- Comment #102 from Alexander Klepikov <klepikov.alex+bugs at gmail dot com> --- Created attachment 55543 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55543&action=edit Arithmetic right shift late expanding v2 Here's the patch. I hope I did not miss anything. Now considering regexp. I remade it using 'check-function-bodies' command and now it looks less confusing. I also found that in this testcase right shift expands to 'shad' instructions early on platforms that have dynamic shift support, so I deleted checks for those CPUs. I don't like that 'check-function-bodies' ignores asm labels but it's better than nothing.