[Bug target/89378] [9 regression][MIPS] FAIL: gcc.dg/vect/pr88598-3.c -mmsa (internal compiler error)

2019-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89378

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek  ---
Fixed.

[Bug target/89378] [9 regression][MIPS] FAIL: gcc.dg/vect/pr88598-3.c -mmsa (internal compiler error)

2019-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89378

--- Comment #5 from Jakub Jelinek  ---
Author: jakub
Date: Tue Mar 19 16:10:59 2019
New Revision: 269801

URL: https://gcc.gnu.org/viewcvs?rev=269801=gcc=rev
Log:
PR target/89378
* config/mips/mips.c (mips_expand_vec_cond_expr): Use gen_lowpart
instead of gen_rtx_SUBREG.
* config/mips/mips-msa.md (vec_extract): Likewise.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/mips/mips-msa.md
trunk/gcc/config/mips/mips.c

[Bug target/89378] [9 regression][MIPS] FAIL: gcc.dg/vect/pr88598-3.c -mmsa (internal compiler error)

2019-03-14 Thread paul.hua.gm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89378

--- Comment #4 from Paul Hua  ---
(In reply to Jakub Jelinek from comment #3)
> Created attachment 45960 [details]
> gcc9-pr89378.patch
> 
> Untested (quite obvious) fix, though I don't really have a way to test this.
> If you could test this, I can submit it to gcc-patches.
> 
> In RTL, a SUBREG of a SUBREG is invalid, and gen_lowpart is a function that
> takes care of all the folding to get the right single SUBREG.

The attachment patch fix the bug.

Bootstrap and test passed, please submit the patch. Thanks for fix this bug.

[Bug target/89378] [9 regression][MIPS] FAIL: gcc.dg/vect/pr88598-3.c -mmsa (internal compiler error)

2019-03-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89378

--- Comment #3 from Jakub Jelinek  ---
Created attachment 45960
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45960=edit
gcc9-pr89378.patch

Untested (quite obvious) fix, though I don't really have a way to test this.
If you could test this, I can submit it to gcc-patches.

In RTL, a SUBREG of a SUBREG is invalid, and gen_lowpart is a function that
takes care of all the folding to get the right single SUBREG.

[Bug target/89378] [9 regression][MIPS] FAIL: gcc.dg/vect/pr88598-3.c -mmsa (internal compiler error)

2019-03-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89378

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-03-13
  Component|rtl-optimization|target
 Ever confirmed|0   |1