[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0

--- Comment #6 from Martin Liška  ---
Upstream bug:
https://github.com/xianyi/OpenBLAS/issues/1964

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0

Martin Liška  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #5 from Martin Liška  ---
(In reply to Andrew Pinski from comment #4)
> Replace:
> :
> :
>   "r" (i),
>"r" (n),
> 
> With:
> :
>   "+r" (i),
>"+r" (n),
> :

I can confirm it works, thus it's failure in the package. Let me report that.

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0

--- Comment #4 from Andrew Pinski  ---
Replace:
:
:
  "r" (i),
   "r" (n),

With:
:
  "+r" (i),
   "+r" (n),
:

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0

Jeffrey A. Law  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||law at redhat dot com
 Ever confirmed|0   |1

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0

--- Comment #3 from Martin Liška  ---
(In reply to Andrew Pinski from comment #2)
> The inline asm modifies the 0th and 1st operands. I think the inline asm is
> broken .

You are right, they are modified. Can you please help me how to fix the
assembly (marking these 2 as output as well)?

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0

--- Comment #2 from Andrew Pinski  ---
The inline asm modifies the 0th and 1st operands. I think the inline asm is
broken .

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0

--- Comment #1 from Andrew Pinski  ---
That inline asm looks big and suspicious.

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0

Martin Liška  changed:

   What|Removed |Added

   Priority|P3  |P1
 CC||law at gcc dot gnu.org

[Bug rtl-optimization/88880] [9 Regression] Wrong code since r264897

2019-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0

Martin Liška  changed:

   What|Removed |Added

   Last reconfirmed||2019-1-16
 CC||bergner at gcc dot gnu.org
  Known to work||8.2.0
   Target Milestone|--- |9.0
Summary|Wrong code since r264897|[9 Regression] Wrong code
   ||since r264897
  Known to fail||9.0