r238537 - in /branches/gcc-6-branch/gcc: Change...

krebbel@gcc.gnu.org krebbel@gcc.gnu.org
Wed Jul 20 18:35:00 GMT 2016


Author: krebbel
Date: Wed Jul 20 18:35:04 2016
New Revision: 238537

URL: https://gcc.gnu.org/viewcvs?rev=238537&root=gcc&view=rev
Log:
S/390: Remove mode size check in encode_section_info.

With the last change the not-aligned symbol ref markers are always set
for modes with size zero.  This is wrong since for larl the size of
the access does not matter.  This patch removes that check entirely
from s390_encode_section_info.  Modes with a size of 0 get rejected in
s390_check_symref_alignment which is used for the load/store relative
instructions to check for natural alignment.

Bootstrapped and regression tested on s390 and s390x with
--with-arch=z900 and --with-arch=z13.

gcc/ChangeLog:

2016-07-20  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	Backport from mainline
	2016-07-20  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/s390/s390.c (s390_encode_section_info): Remove mode size
	check.


Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/config/s390/s390.c



More information about the Gcc-cvs mailing list