!537 fix: function missing return value
From: @rfwang07 Reviewed-by: @li-yancheng, @xiongzhou4 Signed-off-by: @li-yancheng, @xiongzhou4
This commit is contained in:
commit
45baac3cbe
25
0331-fix-function-missing-return-value.patch
Normal file
25
0331-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 62
|
||||
%global gcc_release 63
|
||||
|
||||
%global _unpackaged_files_terminate_build 0
|
||||
%global _performance_build 1
|
||||
@ -436,6 +436,7 @@ Patch327: 0327-Bugfix-Adjust-the-same-gate-to-use-struct-option.patch
|
||||
Patch328: 0328-Bugfix-if-split-Added-checking-for-ssa_name.patch
|
||||
Patch329: 0329-Fixed-work-with-loops-in-process_complex_cond.patch
|
||||
Patch330: 0330-bugfix-fix-typo-error.patch
|
||||
Patch331: 0331-fix-function-missing-return-value.patch
|
||||
|
||||
# Part 1001-1999
|
||||
%ifarch sw_64
|
||||
@ -1552,6 +1553,7 @@ not stable, so plugins must be rebuilt any time GCC is updated.
|
||||
%patch -P328 -p1
|
||||
%patch -P329 -p1
|
||||
%patch -P330 -p1
|
||||
%patch -P331 -p1
|
||||
|
||||
%ifarch sw_64
|
||||
%patch -P1001 -p1
|
||||
@ -4175,6 +4177,12 @@ end
|
||||
%doc rpm.doc/changelogs/libcc1/ChangeLog*
|
||||
|
||||
%changelog
|
||||
* Sat Dec 21 2024 rfwang07 <wangrufeng5@huawei.com> - 12.3.1-63
|
||||
- Type:Bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Fix function missing return value.
|
||||
|
||||
* Wed Dec 18 2024 Mingchuan Wu <wumingchuan1992@foxmail.com> - 12.3.1-62
|
||||
- Type:Sync
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user