r259194 - in /trunk/gcc: ChangeLog config/sparc...

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Fri Apr 6 22:30:00 GMT 2018


Author: ebotcazou
Date: Fri Apr  6 22:30:05 2018
New Revision: 259194

URL: https://gcc.gnu.org/viewcvs?rev=259194&root=gcc&view=rev
Log:
	PR target/85196
	* config/sparc/sparc.c (sparc_expand_move): Deal with symbolic operands
	based on LABEL_REF.  Remove useless assertion.
	(pic_address_needs_scratch): Fix formatting.
	(sparc_legitimize_pic_address): Minor tweaks.
	(sparc_delegitimize_address): Adjust assertion accordingly.
	* config/sparc/sparc.md (movsi_pic_label_ref): Change label_ref_operand
	into symbolic_operand.
	(movsi_high_pic_label_ref): Likewise.
	(movsi_lo_sum_pic_label_ref): Likewise.
	(movdi_pic_label_ref): Likewise.
	(movdi_high_pic_label_ref): Likewise.
	(movdi_lo_sum_pic_label_ref): Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr85196.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sparc/sparc.c
    trunk/gcc/config/sparc/sparc.md
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list