[Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941

Andrew Pinski  changed:

   What|Removed |Added

 CC||glisse at gcc dot gnu.org

--- Comment #12 from Andrew Pinski  ---
*** Bug 59155 has been marked as a duplicate of this bug. ***

[Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2019-03-16 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941

--- Comment #11 from John David Anglin  ---
Author: danglin
Date: Sat Mar 16 17:31:30 2019
New Revision: 269730

URL: https://gcc.gnu.org/viewcvs?rev=269730=gcc=rev
Log:
PR testsuite/84941
* gcc.dg/pr84941.c: Skip on hppa*-*-*.


Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/pr84941.c

[Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Jakub Jelinek  ---
Fixed for 6.5 and 7.4+ too.

[Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2018-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Mon Jun 25 17:37:02 2018
New Revision: 262082

URL: https://gcc.gnu.org/viewcvs?rev=262082=gcc=rev
Log:
Backported from mainline
2018-03-22  Jakub Jelinek  

PR inline-asm/84941
* function.c (match_asm_constraints_1): Don't do the optimization
if input isn't a REG, SUBREG, MEM or constant.

* gcc.dg/pr84941.c: New test.

Added:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr84941.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/function.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog

[Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2018-06-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941

--- Comment #8 from Jakub Jelinek  ---
Author: jakub
Date: Fri Jun 22 20:56:25 2018
New Revision: 261936

URL: https://gcc.gnu.org/viewcvs?rev=261936=gcc=rev
Log:
Backported from mainline
2018-03-22  Jakub Jelinek  

PR inline-asm/84941
* function.c (match_asm_constraints_1): Don't do the optimization
if input isn't a REG, SUBREG, MEM or constant.

* gcc.dg/pr84941.c: New test.

Added:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr84941.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/function.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog

[Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2018-05-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|8.0 |8.2

--- Comment #7 from Jakub Jelinek  ---
GCC 8.1 has been released.

[Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2018-04-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941

John David Anglin  changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu.org

--- Comment #6 from John David Anglin  ---
Fails on hppa2.0w-hp-hpux11.11:

spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gc
c/gcc/testsuite/gcc.dg/pr84941.c -fno-diagnostics-show-caret
-fdiagnostics-color
=never -O2 -S -o pr84941.s
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c: In function 'foo':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c:9:3: error: 'asm' operand has
i
mpossible constraints
compiler exited with status 1
output is:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c: In function 'foo':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c:9:3: error: 'asm' operand has
i
mpossible constraints

FAIL: gcc.dg/pr84941.c (test for excess errors)

[Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())

2018-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941

Jakub Jelinek  changed:

   What|Removed |Added

Summary|[6/7/8 Regression] internal |[6/7 Regression] internal
   |compiler error: in  |compiler error: in
   |reg_overlap_mentioned_p, at |reg_overlap_mentioned_p, at
   |rtlanal.c:1870  |rtlanal.c:1870
   |(reg_overlap_mentioned_p()/ |(reg_overlap_mentioned_p()/
   |match_asm_constraints_1())  |match_asm_constraints_1())

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