[Bug target/90193] [8 Regression] asm goto with TLS "m" input operand generates incorrect assembler in O1 and O2

2019-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90193

Jakub Jelinek  changed:

   What|Removed |Added

  Known to work||9.0
Summary|[8/9 Regression] asm goto   |[8 Regression] asm goto
   |with TLS "m" input operand  |with TLS "m" input operand
   |generates incorrect |generates incorrect
   |assembler in O1 and O2  |assembler in O1 and O2
  Known to fail|9.0 |

--- Comment #13 from Jakub Jelinek  ---
Fixed on the trunk so far.

[Bug target/90193] [8 Regression] asm goto with TLS "m" input operand generates incorrect assembler in O1 and O2

2019-04-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90193

--- Comment #14 from Jakub Jelinek  ---
Author: jakub
Date: Tue Apr 30 21:11:06 2019
New Revision: 270757

URL: https://gcc.gnu.org/viewcvs?rev=270757&root=gcc&view=rev
Log:
Backported from mainline
2019-04-24  Jakub Jelinek  

PR target/90193
* rtl.c (classify_insn): Return JUMP_INSN for asm goto.
* emit-rtl.c (try_split): Copy over REG_LABEL_TARGET.

* gcc.target/i386/pr90193.c: New test.

Added:
branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr90193.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/emit-rtl.c
branches/gcc-8-branch/gcc/rtl.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog

[Bug target/90193] [8 Regression] asm goto with TLS "m" input operand generates incorrect assembler in O1 and O2

2019-05-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90193

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Known to work||8.3.1
 Resolution|--- |FIXED

--- Comment #15 from Jakub Jelinek  ---
Fixed for 8.4+ too.