[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2020-01-16 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #11 from Andreas Krebbel --- (In reply to CVS Commits from comment #10) > The master branch has been updated by Andreas Krebbel : > > https://gcc.gnu.org/g:3b5757ea87ad2274b841340335bf7536204e615b > > commit

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2020-01-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #10 from CVS Commits --- The master branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:3b5757ea87ad2274b841340335bf7536204e615b commit r10-5996-g3b5757ea87ad2274b841340335bf7536204e615b Author: Andreas Krebbel

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2019-12-06 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #9 from Vladimir Makarov --- Thank you, Andreas. I've committed the patch with your changes in the test.

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2019-12-06 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #8 from Vladimir Makarov --- Author: vmakarov Date: Fri Dec 6 19:30:37 2019 New Revision: 279061 URL: https://gcc.gnu.org/viewcvs?rev=279061=gcc=rev Log: 2019-12-06 Andreas Krebbel Vladimir Makarov PR

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2019-12-06 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #7 from Andreas Krebbel --- Created attachment 47432 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47432=edit Updated testcase This is an updated testcase with the changes I propose. Your testcase works fine. However, I

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2019-12-04 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #6 from Vladimir Makarov --- (In reply to Vladimir Makarov from comment #5) > > I'll investigate this problem more. Hi, Andreas. The rtlanal code (!lra_in_progress) was added to GCC since the first patch introducing LRA. As I

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2019-12-02 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #5 from Vladimir Makarov --- (In reply to Andreas Krebbel from comment #3) > 276.ira: > > > /* Give the backend a chance to disallow the mode change. */ > if (GET_MODE_CLASS (xmode) != MODE_COMPLEX_INT > &&

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2019-11-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2019-11-28 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #3 from Andreas Krebbel --- 276.ira: (insn 6 85 11 2 (set (reg:SI 100 [ f ]) (mem/c:SI (symbol_ref:DI ("*.LANCHOR0") [flags 0x182]) [2 f+0 S4 A32])) "t.c":13:8 1372 {*movsi_zarch} (expr_list:REG_EQUIV (mem/c:SI

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2019-11-28 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 Andreas Krebbel changed: What|Removed |Added Priority|P3 |P2 Severity|normal

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2019-11-28 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #2 from Andreas Krebbel --- Created attachment 47388 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47388=edit Experimental patch This patch fixes the second testcase. The first one currently doesn't fail on head.

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2019-11-28 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #1 from Andreas Krebbel --- Created attachment 47387 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47387=edit Another reduced testcase gcc -O3 -march=z13 t.c -o t ./t prints "checksum = 0" with head GCC prints "checksum =