This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r243011 - in /trunk/gcc: ChangeLog config/aarch...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]