1 Star 0 Fork 128

Mingtai/gcc

forked from src-openEuler/gcc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0021-mcmodel-Bugfix-for-mcmodel-medium-on-x86.patch 860 Bytes
一键复制 编辑 原始数据 按行查看 历史
eastb233 提交于 2021-08-19 19:22 . [Sync] Sync patch from openeuler/gcc
From 023c92ac45b727768599a95f7da748158a270753 Mon Sep 17 00:00:00 2001
From: bule <bule1@huawei.com>
Date: Mon, 16 Aug 2021 11:20:35 +0800
Subject: [PATCH 21/22] [mcmodel] Bugfix for mcmodel=medium on x86
Declare default_medium_symbol_p in targhooks.h which otherwise
cause the build failure on x86 platform.
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index 72f3064e8f8..95c136edc79 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -218,6 +218,7 @@ extern int default_register_move_cost (machine_mode, reg_class_t,
reg_class_t);
extern bool default_slow_unaligned_access (machine_mode, unsigned int);
extern HOST_WIDE_INT default_estimated_poly_value (poly_int64);
+extern bool default_medium_symbol_p (rtx);
extern bool default_use_by_pieces_infrastructure_p (unsigned HOST_WIDE_INT,
unsigned int,
--
2.21.0.windows.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yangmingtaip/gcc.git
git@gitee.com:yangmingtaip/gcc.git
yangmingtaip
gcc
gcc
master

搜索帮助