[Bug target/78362] [7 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1804 during libgomp build
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 30 12:21:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78362
--- Comment #4 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Wed Nov 30 12:18:47 2016
New Revision: 243011
URL: https://gcc.gnu.org/viewcvs?rev=243011&root=gcc&view=rev
Log:
[AArch64] PR target/78362: Make sure to only take REGNO of a register
PR target/78362
* config/aarch64/aarch64.md (add<mode>3): Extract inner expression
from a subreg in operands[1] and don't call REGNO on a non-reg
expression when deciding to force operands[2] into a reg.
* gcc.c-torture/compile/pr78362.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr78362.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/aarch64/aarch64.md
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list