diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2020-04-09 20:52:20 +0100 |
---|---|---|
committer | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2020-04-09 20:59:50 +0100 |
commit | 07432a807ede1c629f0f52aa5f8bf00012929e88 (patch) | |
tree | 9eb97c0826e1acaa454bbf5e3a977f87475d6452 /gcc/fortran/resolve.c | |
parent | 33c45e51b4914008064d9b77f2c1fc0eea1ad060 (diff) | |
download | gcc-07432a807ede1c629f0f52aa5f8bf00012929e88.zip gcc-07432a807ede1c629f0f52aa5f8bf00012929e88.tar.gz gcc-07432a807ede1c629f0f52aa5f8bf00012929e88.tar.bz2 |
MSP430: Indiciate that the epilogue_helper insn does not fallthru
This fixes an ICE in rtl_verify_fallthru, at cfgrtl.c:2970
gcc.c-torture/execute/20071210-1.c for -mcpu=msp430 at -O2
and above.
The epilogue_helper insn was treated as a regular insn which will
fallthru, so when a barrier is emitted after it, RTL verification failed
as rtl_verify_fallthru.
gcc/ChangeLog:
2020-04-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* config/msp430/msp430.c (msp430_expand_epilogue): Use emit_jump_insn
when to emit the epilogue_helper insn.
* config/msp430/msp430.md (epilogue_helper): Add a return insn to the
RTL pattern.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions