!538 fix: function missing return value
From: @rfwang07 Reviewed-by: @huang-xiaoquan Signed-off-by: @huang-xiaoquan
This commit is contained in:
commit
a12bc03cb4
25
0323-fix-function-missing-return-value.patch
Normal file
25
0323-fix-function-missing-return-value.patch
Normal file
@ -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)
|
||||
|
||||
10
gcc.spec
10
gcc.spec
@ -2,7 +2,7 @@
|
||||
%global gcc_major 12
|
||||
# Note, gcc_release must be integer, if you want to add suffixes to
|
||||
# %%{release}, append them after %%{gcc_release} on Release: line.
|
||||
%global gcc_release 57
|
||||
%global gcc_release 58
|
||||
|
||||
%global _unpackaged_files_terminate_build 0
|
||||
%global _performance_build 1
|
||||
@ -428,6 +428,7 @@ Patch319: 0319-CSPGO-fix-bugs-when-using-cspgo.patch
|
||||
Patch320: 0320-if-split-fix-bugs.patch
|
||||
Patch321: 0321-Struct-reorg-Avoid-doing-struct-split-and-reorder_fi.patch
|
||||
Patch322: 0322-Bugfix-Create-POINTER_PLUS_EXPR-for-REFERENCE_TYPE.patch
|
||||
Patch323: 0323-fix-function-missing-return-value.patch
|
||||
|
||||
# Part 1001-1999
|
||||
%ifarch sw_64
|
||||
@ -1536,6 +1537,7 @@ not stable, so plugins must be rebuilt any time GCC is updated.
|
||||
%patch -P320 -p1
|
||||
%patch -P321 -p1
|
||||
%patch -P322 -p1
|
||||
%patch -P323 -p1
|
||||
|
||||
%ifarch sw_64
|
||||
%patch -P1001 -p1
|
||||
@ -4158,6 +4160,12 @@ end
|
||||
%doc rpm.doc/changelogs/libcc1/ChangeLog*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 26 2024 rfwang07 <wangrufeng5@huawei.com> - 12.3.1-58
|
||||
- Type:Bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Fix function missing return value.
|
||||
|
||||
* Mon Dec 09 2024 liyancheng <412998149@qq.com> - 12.3.1-57
|
||||
- Type:Bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user