Projects
openEuler:24.03:SP1:Everything
gcc
_service:tar_scm:0221-Backport-SME-aarch64-Add-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0221-Backport-SME-aarch64-Add-funwind-tables-to-some-test.patch of Package gcc
From 0214ca06a182481851ed90aae21f460f87d26084 Mon Sep 17 00:00:00 2001 From: Richard Sandiford <richard.sandiford@arm.com> Date: Sun, 10 Dec 2023 19:46:05 +0000 Subject: [PATCH 122/157] [Backport][SME] aarch64: Add -funwind-tables to some tests Reference: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=02ecdaab7a50f4505fd905effb6d238d773dc813 The .cfi scans in these tests failed for *-elf targets because those targets don't enable .eh_frame info by default. gcc/testsuite/ * gcc.target/aarch64/sme/call_sm_switch_1.c: Add -funwind-tables. * gcc.target/aarch64/sme/call_sm_switch_3.c: Likewise. * gcc.target/aarch64/sme/call_sm_switch_5.c: Likewise. --- gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_1.c | 2 +- gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_3.c | 2 +- gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_5.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_1.c b/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_1.c index a2de55773..98922aaea 100644 --- a/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_1.c +++ b/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_1.c @@ -1,4 +1,4 @@ -// { dg-options "-O -fomit-frame-pointer -fno-optimize-sibling-calls" } +// { dg-options "-O -fomit-frame-pointer -fno-optimize-sibling-calls -funwind-tables" } // { dg-final { check-function-bodies "**" "" } } void ns_callee (); diff --git a/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_3.c b/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_3.c index ed999d085..4250fe798 100644 --- a/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_3.c +++ b/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_3.c @@ -1,4 +1,4 @@ -// { dg-options "-O -fomit-frame-pointer -fno-optimize-sibling-calls" } +// { dg-options "-O -fomit-frame-pointer -fno-optimize-sibling-calls -funwind-tables" } // { dg-final { check-function-bodies "**" "" } } __attribute__((aarch64_vector_pcs)) void ns_callee (); diff --git a/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_5.c b/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_5.c index be9b5cc04..e3d9bc274 100644 --- a/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_5.c +++ b/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_5.c @@ -1,4 +1,4 @@ -// { dg-options "-O -fomit-frame-pointer -fno-optimize-sibling-calls" } +// { dg-options "-O -fomit-frame-pointer -fno-optimize-sibling-calls -funwind-tables" } // { dg-final { check-function-bodies "**" "" } } #include <arm_sve.h> -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2