From 73127104a245052cd5cf29cdaaca3e5c32c70348 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 28 Feb 2025 10:03:49 +0000 Subject: automatic import of gcc --- 0331-fix-function-missing-return-value.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 0331-fix-function-missing-return-value.patch (limited to '0331-fix-function-missing-return-value.patch') 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 +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) + -- cgit v1.2.3