diff options
author | CoprDistGit <infra@openeuler.org> | 2025-02-28 10:03:49 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-02-28 10:03:49 +0000 |
commit | 73127104a245052cd5cf29cdaaca3e5c32c70348 (patch) | |
tree | 8e28b63e478c43c252f18b49836dff7313affe54 /0330-bugfix-fix-typo-error.patch | |
parent | 49d3feaf4665cdb07576fc1a2382a4d82a612d35 (diff) |
automatic import of gccopeneuler24.03_LTS_SP1
Diffstat (limited to '0330-bugfix-fix-typo-error.patch')
-rw-r--r-- | 0330-bugfix-fix-typo-error.patch | 25 |
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 + |