aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2020-01-22 23:34:34 +0000
committerAndrew Pinski <apinski@marvell.com>2020-01-23 01:23:28 +0000
commit41fe06f89f96c5f9599855a2778c8a3dd7efe22d (patch)
treef4bfdd4c7bd7297409a1799ceaeeaf361eeff55c /gcc/go
parent83b0448980f894b527ed8df588a0ae12510f06d5 (diff)
downloadgcc-41fe06f89f96c5f9599855a2778c8a3dd7efe22d.zip
gcc-41fe06f89f96c5f9599855a2778c8a3dd7efe22d.tar.gz
gcc-41fe06f89f96c5f9599855a2778c8a3dd7efe22d.tar.bz2
Fix patchable-function-entry on arc
The problem here is arc looks at current_output_insn unconditional but sometimes current_output_insn is NULL. With patchable-function-entry, it will be. This is similar to how the nios2, handles "%.". Committed as obvious after a simple test with -fpatchable-function-entry=1. ChangeLog: * config/arc/arc.c (output_short_suffix): Check insn for nullness.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions