Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
cross-mips-gcc7
gcc7-pfe-0016-Backport-Fix-patchable-function-e...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc7-pfe-0016-Backport-Fix-patchable-function-entry-on-arc.patch of Package cross-mips-gcc7
From 3775c56f07ebfba1155721bdaa948a71e26df6b0 Mon Sep 17 00:00:00 2001 From: Andrew Pinski <apinski@marvell.com> Date: Wed, 22 Jan 2020 23:34:34 +0000 Subject: [PATCH 16/22] Backport 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. gcc/ChangeLog 2021-10-07 Giuliano Belinassi <gbelinassi@suse.de> Backport from mainline 2020-01-22 Andrew Pinski <apinski@marvell.com> * config/arc/arc.c (output_short_suffix): Check insn for nullness. --- gcc/config/arc/arc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index 92fecad93d9..5e92983929d 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -4195,6 +4195,8 @@ static void output_short_suffix (FILE *file) { rtx_insn *insn = current_output_insn; + if (!insn) + return; if (arc_verify_short (insn, cfun->machine->unalign, 1)) { -- 2.33.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor