[Bug inline-asm/84941] [6/7/8 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1())
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 22 12:32:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Mar 22 12:31:46 2018
New Revision: 258764
URL: https://gcc.gnu.org/viewcvs?rev=258764&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/gcc.dg/pr84941.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list