summaryrefslogtreecommitdiff
path: root/0330-bugfix-fix-typo-error.patch
diff options
context:
space:
mode:
Diffstat (limited to '0330-bugfix-fix-typo-error.patch')
-rw-r--r--0330-bugfix-fix-typo-error.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0330-bugfix-fix-typo-error.patch b/0330-bugfix-fix-typo-error.patch
new file mode 100644
index 0000000..4f12d79
--- /dev/null
+++ b/0330-bugfix-fix-typo-error.patch
@@ -0,0 +1,25 @@
+From 843b7577b5b255806978f338f6f99863693509d6 Mon Sep 17 00:00:00 2001
+From: Mingchuan Wu <wumingchuan1992@foxmail.com>
+Date: Wed, 18 Dec 2024 10:10:30 +0800
+Subject: [PATCH] [bugfix] fix typo error.
+
+---
+ gcc/opts-common.cc | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/gcc/opts-common.cc b/gcc/opts-common.cc
+index 35db76b84..ee94723fc 100644
+--- a/gcc/opts-common.cc
++++ b/gcc/opts-common.cc
+@@ -1070,8 +1070,6 @@ handle_machine_option (unsigned int lang_mask,
+ global_options.x_param_ipa_prefetch_distance_factor};
+ int64_t output_pred = get_optimize_decision_from_optimizer (
+ argc, argv, "hip09", argc_hw, argv_hw);
+- if (output_pred == 1)
+- return output_pred;
+ if (output_pred != 1)
+ return ret;
+
+--
+2.33.0
+