This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix PR tree-opt/22269


The problem here is that we are not checking the correct operand if it
was a SSA_NAME. This patch fixes the problem. I committed it as obvious
after a bootstrap and test on powerpc-darwin.


ChangeLog:
	* tree-ssa-reassoc.c (should_transpose): Fix which operand
	we check for SSA_NAME for.

testsuite/ChangeLog:
	* gcc.c-torture/compile/pr22269.c: New test.

Attachment: t.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]