On Fri, 2023-09-08 at 10:00 +0800, Guo Jie wrote: > gcc/ChangeLog: > > * common/config/loongarch/loongarch-common.cc:
"common/" should be removed. You can use "git gcc-verify" to figure out this kind of error before sending a patch in the future. > (default_options loongarch_option_optimization_table): > Default to -fsched-pressure. "Default to -fsched-pressure at -O1 or above." Otherwise OK. > --- > gcc/common/config/loongarch/loongarch-common.cc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gcc/common/config/loongarch/loongarch-common.cc > b/gcc/common/config/loongarch/loongarch-common.cc > index c5ed37d27a6..b6901910b70 100644 > --- a/gcc/common/config/loongarch/loongarch-common.cc > +++ b/gcc/common/config/loongarch/loongarch-common.cc > @@ -36,6 +36,7 @@ static const struct default_options > loongarch_option_optimization_table[] = > { OPT_LEVELS_ALL, OPT_fasynchronous_unwind_tables, NULL, 1 }, > { OPT_LEVELS_1_PLUS, OPT_fsection_anchors, NULL, 1 }, > { OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 }, > + { OPT_LEVELS_1_PLUS, OPT_fsched_pressure, NULL, 1 }, > { OPT_LEVELS_NONE, 0, NULL, 0 } > }; > -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University