summaryrefslogtreecommitdiff
path: root/0331-fix-function-missing-return-value.patch
diff options
context:
space:
mode:
Diffstat (limited to '0331-fix-function-missing-return-value.patch')
-rw-r--r--0331-fix-function-missing-return-value.patch25
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)
+