s390.c (s390_encode_section_info): Handle BLKmode properly.

2009-10-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c (s390_encode_section_info): Handle BLKmode
	properly.

From-SVN: r152700
This commit is contained in:
Andreas Krebbel 2009-10-13 10:50:41 +00:00 committed by Andreas Krebbel
parent 076c7ebe99
commit 35fcb6ba7d
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-10-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_encode_section_info): Handle BLKmode
properly.
2009-10-12 Alexandre Oliva <aoliva@redhat.com>
PR debug/41343

View file

@ -9003,6 +9003,7 @@ s390_encode_section_info (tree decl, rtx rtl, int first)
&& GET_CODE (XEXP (rtl, 0)) == SYMBOL_REF
&& TREE_CONSTANT_POOL_ADDRESS_P (XEXP (rtl, 0))
&& (MEM_ALIGN (rtl) == 0
|| GET_MODE_BITSIZE (GET_MODE (rtl)) == 0
|| MEM_ALIGN (rtl) < GET_MODE_BITSIZE (GET_MODE (rtl))))
SYMBOL_REF_FLAGS (XEXP (rtl, 0)) |= SYMBOL_FLAG_NOT_NATURALLY_ALIGNED;
}