Projects
Mega:23.03
gcc
_service:tar_scm:0076-Struct-Reorg-Fix-speccpu2...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0076-Struct-Reorg-Fix-speccpu2006-462-double-free-I60YUV.patch of Package gcc
From b669b4512e8425f4d752ef76bf61097cf40d9b35 Mon Sep 17 00:00:00 2001 From: zgat <1071107108@qq.com> Date: Thu, 17 Nov 2022 02:55:48 +0000 Subject: [PATCH 28/35] [Struct Reorg] Fix speccpu2006 462 double free #I60YUV modify gcc/tree.c. Normal operation speccpu 462 after modifed Signed-off-by: zgat <1071107108@qq.com> --- gcc/tree.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gcc/tree.c b/gcc/tree.c index 2a532d15a..a61788651 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -5224,8 +5224,7 @@ fld_simplified_type_name (tree type) optimizations. */ if (flag_ipa_struct_reorg && lang_c_p () - && flag_lto_partition == LTO_PARTITION_ONE - && (in_lto_p || flag_whole_program)) + && flag_lto_partition == LTO_PARTITION_ONE) return TYPE_NAME (type); if (!TYPE_NAME (type) || TREE_CODE (TYPE_NAME (type)) != TYPE_DECL) @@ -5471,8 +5470,7 @@ fld_simplified_type (tree t, class free_lang_data_d *fld) optimizations. */ if (flag_ipa_struct_reorg && lang_c_p () - && flag_lto_partition == LTO_PARTITION_ONE - && (in_lto_p || flag_whole_program)) + && flag_lto_partition == LTO_PARTITION_ONE) return t; if (POINTER_TYPE_P (t)) return fld_incomplete_type_of (t, fld); -- 2.27.0.windows.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2