This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r259196 - in /branches/gcc-6-branch/gcc: Change...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 06 Apr 2018 22:33:56 -0000
- Subject: r259196 - in /branches/gcc-6-branch/gcc: Change...
Author: ebotcazou
Date: Fri Apr 6 22:33:55 2018
New Revision: 259196
URL: https://gcc.gnu.org/viewcvs?rev=259196&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:
branches/gcc-6-branch/gcc/testsuite/g++.dg/opt/pr85196.C
- copied unchanged from r259194, trunk/gcc/testsuite/g++.dg/opt/pr85196.C
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/config/sparc/sparc.c
branches/gcc-6-branch/gcc/config/sparc/sparc.md
branches/gcc-6-branch/gcc/testsuite/ChangeLog