diff options
author | CoprDistGit <infra@openeuler.org> | 2025-02-28 10:03:49 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-02-28 10:03:49 +0000 |
commit | 73127104a245052cd5cf29cdaaca3e5c32c70348 (patch) | |
tree | 8e28b63e478c43c252f18b49836dff7313affe54 /0331-fix-function-missing-return-value.patch | |
parent | 49d3feaf4665cdb07576fc1a2382a4d82a612d35 (diff) |
automatic import of gccopeneuler24.03_LTS_SP1
Diffstat (limited to '0331-fix-function-missing-return-value.patch')
-rw-r--r-- | 0331-fix-function-missing-return-value.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/0331-fix-function-missing-return-value.patch b/0331-fix-function-missing-return-value.patch new file mode 100644 index 0000000..003760b --- /dev/null +++ b/0331-fix-function-missing-return-value.patch @@ -0,0 +1,25 @@ +From 8d8dff2b18de8149b4f9f03968abd1b6f4b8cc69 Mon Sep 17 00:00:00 2001 +From: rfwang07 <wangrufeng5@huawei.com> +Date: Sat, 21 Dec 2024 18:29:10 +0800 +Subject: [PATCH] fix: function missing return value + +--- + gcc/final.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gcc/final.cc b/gcc/final.cc +index e4bfceabc..0252250ba 100644 +--- a/gcc/final.cc ++++ b/gcc/final.cc +@@ -4443,7 +4443,7 @@ dump_direct_callee_info_to_asm (basic_block bb, gcov_type call_count) + } + + /* Dump the edge info into asm. */ +-static int ++static void + dump_edge_jump_info_to_asm (basic_block bb, gcov_type bb_count) + { + edge e; +-- +2.39.5 (Apple Git-154) + |