Re: [patch][version5]add -ftrivial-auto-var-init and variable attribute "uninitialized" to gcc

2021-07-26 Thread Qing Zhao via Gcc-patches
> On Jul 26, 2021, at 11:09 AM, Martin Jambor wrote: > > Hi, > >>> So you either need to change build_access_from_expr like I described in >>> my email >> >> Is the following the change you suggested previously: >> >> [opc@qinzhao-ol8u3-x86 gcc]$ git diff tree-sra.c >> diff --git

Re: [patch][version5]add -ftrivial-auto-var-init and variable attribute "uninitialized" to gcc

2021-07-26 Thread Martin Jambor
Hi, On Mon, Jul 26 2021, Qing Zhao wrote: > HI, Martin, > > Thank you for the comments and suggestions on tree-sra.c changes. > >>> **Compare with the 4th version, the following are the major changes: >>> >>> 1. delete the code for handling "grp_to_be_debug_replaced" since they are >>> not

Re: [patch][version5]add -ftrivial-auto-var-init and variable attribute "uninitialized" to gcc

2021-07-26 Thread Qing Zhao via Gcc-patches
Martin, The following is the patch to fix the issues you raised in the previous email, let me know if I still miss anything: Thanks a lot. Qing = From 14524a228b4b41b4eaaa2497455725e075126c2c Mon Sep 17 00:00:00 2001 From: Qing Zhao Date: Mon, 26 Jul 2021 15:46:59 + Subject:

Re: [patch][version5]add -ftrivial-auto-var-init and variable attribute "uninitialized" to gcc

2021-07-26 Thread Qing Zhao via Gcc-patches
HI, Martin, Thank you for the comments and suggestions on tree-sra.c changes. >> **Compare with the 4th version, the following are the major changes: >> >> 1. delete the code for handling "grp_to_be_debug_replaced" since they are >> not needed per Martin Jambor's suggestion. > > sorry if

Re: [patch][version5]add -ftrivial-auto-var-init and variable attribute "uninitialized" to gcc

2021-07-26 Thread Martin Jambor
Hi, On Sun, Jul 25 2021, Qing Zhao via Gcc-patches wrote: > Hi, > > This is the 5th version of the patch for the new security feature for GCC. > > I have tested it with bootstrap on both x86 and aarch64, regression testing > on both x86 and aarch64. > Also compile and run CPU2017, without any

Re: [patch][version5]add -ftrivial-auto-var-init and variable attribute "uninitialized" to gcc

2021-07-25 Thread Qing Zhao via Gcc-patches
> On Jul 25, 2021, at 10:59 AM, Qing Zhao via Gcc-patches > wrote: > > Hi, > > This is the 5th version of the patch for the new security feature for GCC. > > I have tested it with bootstrap on both x86 and aarch64, regression testing > on both x86 and aarch64. > Also compile and run