https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64916
Bug ID: 64916
Summary: ira.c update_equiv_regs patch causes
gcc/testsuite/gcc.target/arm/pr43920-2.c regression
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: Alex.Velenko at arm dot com
CC: amker.cheng at gmail dot com, fei.yang0953 at gmail dot com,
law at redhat dot com, marcus.shawcroft at arm dot com
Build: arm-none-eabi
Created attachment 34650
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34650&action=edit
Tar with patched and non-patched rtl dump file tars
In pr43920-2.c code block for "return -1;" c statement is not getting reused
after
ira.c update_equiv_regs patch. I believe svn it's number is r216169.
Reason - patch removes "(expr_list:REG_EQUAL (const_int -1
[0xffffffffffffffff])" note in ira pass, which prevents jump2 optimization.
This information still needs to be passed to jump2 pass.
See rtl dump attachments below.