r246087 - in /trunk/gcc: ChangeLog config/arc/a...

claziss@gcc.gnu.org claziss@gcc.gnu.org
Mon Mar 13 12:55:00 GMT 2017


Author: claziss
Date: Mon Mar 13 12:55:38 2017
New Revision: 246087

URL: https://gcc.gnu.org/viewcvs?rev=246087&root=gcc&view=rev
Log:
[ARC] Handle complex PIC move patterns.

fwprop step is placing in the REG_EQUIV notes constant pic unspecs
expressions.  Then, loop may use these notes for optimizations
rezulting in complex patterns that are not supported by the current
implementation.

The patch adds handling of complex PIC addresses having MINUS or UNARY
operations.

gcc/
2017-03-13  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/arc/arc.c (arc_legitimize_pic_address): Handle PIC
	expressions with MINUS and UNARY ops.

gcc/testsuite
2017-03-13  Claudiu Zissulescu  <claziss@synopsys.com>

	* gcc.target/arc/pr9001090948.c: New file.

Added:
    trunk/gcc/testsuite/gcc.target/arc/pr9001090948.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arc/arc.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list