re PR target/87927 (ICE: segmentation fault with patchable_function_entry attribute...
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Fri, 16 Nov 2018 23:53:30 +0000 (23:53 +0000)
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>
Fri, 16 Nov 2018 23:53:30 +0000 (23:53 +0000)
commitcac6691c1375ea292e430d2c5780ebd3372f5f66
tree26e6b0d4664cd6bc308e5010c9c81781e26aaebe
parent8808260dfd1f7f25e7464bcf8006235677830672
re PR target/87927 (ICE: segmentation fault with patchable_function_entry attribute for msp430-elf -mlarge)

2018-11-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

PR target/87927
* target-def.h: Initialize TARGET_ASM_{,UN}ALIGNED_P{S,D,T}I_OP.
Add them to the TARGET_ASM_{,UN}ALIGNED_INT_OP structs.
* target.def: Enumerate TARGET_ASM_{,UN}ALIGNED_P{S,D,T}I_OP in
the byte_op hook.
* target.h: Add psi, pdi, pti to struct asm_int_op definition.
* targhooks.c (default_print_patchable_function_entry): Assert
asm_int_op does not return a NULL string.
* varasm.c (integer_asm_op): Return the op for a partial int type
when the requested size does not correspond to an integer type.
* config/msp430/msp430.c: Initialize TARGET_ASM_{,UN}ALIGNED_PSI_OP.
* doc/tm.texi: Regenerate.

From-SVN: r266226
gcc/ChangeLog
gcc/config/msp430/msp430.c
gcc/doc/tm.texi
gcc/target-def.h
gcc/target.def
gcc/target.h
gcc/targhooks.c
gcc/varasm.c