[ping*2] Fix ICE in pp_cxx_unqualified_id (PR c++/88348)

2019-01-29 Thread Zhouyi Zhou
On Fri, Dec 14, 2018 at 10:59 AM Zhouyi Zhou wrote: > > Hello, > > Ping for https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00151.html > > By the way, are there any GCC open project for volunteer beginners to > > do in spare time. > > Thanks in advance for your feedba

[ping] Fix ICE in pp_cxx_unqualified_id (PR c++/88348)

2018-12-13 Thread Zhouyi Zhou
Hello, Ping for https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00151.html By the way, are there any GCC open project for volunteer beginners to do in spare time. Thanks in advance for your feedback, Zhouyi

Fix ICE in pp_cxx_unqualified_id (PR c++/88348)

2018-12-04 Thread Zhouyi Zhou
cxx_pretty_printer::type_id do not treat pointer to pointer to member correctly. this patch handle pointer to pointer to member according to C++ standard 11.3.3. I don't have write access to gcc. Bootstrapped/regtested on x86_64-linux Signed-off-by: Zhouyi Zhou 2018-12-04 Zhouyi Zhou

[PING] [PATCH] Add a comma to comment in lower_eh_constructs_2

2018-06-04 Thread Zhouyi Zhou
Hi, Following patch has not been reviewed for two weeks. I think the patch is trivial, it doesn't affect other parts of GCC. https://gcc.gnu.org/ml/gcc-patches/2018-05/msg01005.html And I don't have write permission to GCC Thanks Zhouyi On Mon, May 21, 2018 at 12:09 PM, Zhouyi Zhou

[PATCH] Add a comma to comment in lower_eh_constructs_2

2018-05-20 Thread Zhouyi Zhou
Hi I think the comment in lower_eh_constructs_2 need a comma. And I don't have write permission to GCC. Bootstraped on x86-64 Thanks, Zhouyi Signed-off-by: Zhouyi Zhou <zhouzho...@gmail.com> gcc/ChangeLog: 2018-05-21 Zhouyi Zhou <zhouzho...@gmail.com>

[RFC][C++] Parser: Simplifying tentative firewall

2016-12-28 Thread Zhouyi Zhou
stat -e instructions:u ../gcc/cc1plus g++.dg/template/friend28.C 59,171,598 instructions:u bootstrapped and checked on x86-64 Signed-off-by: Zhouyi Zhou <yizhouz...@ict.ac.cn> --- gcc/cp/ChangeLog | 14 ++ gcc/cp/parser.c | 22 -- 2 files chang

Re: Re: [PATCH IRA] save a call to init_reload

2016-04-12 Thread Zhouyi Zhou
Thanks Vladimir for reviewing my patch. > Thank you for the patch. The toplev.c part of the patch is ok for stage 1. > > As for reload1.c part, I don't see what you actually changed. > Please forgive my innocence, I have mistakenly thought the form-feed character "^L" in line 415 is a type

[PATCH IRA] save a call to init_reload

2016-04-10 Thread Zhouyi Zhou
ed-off-by: Zhouyi Zhou <yizhouz...@ict.ac.cn> --- gcc/ChangeLog | 9 + gcc/reload1.c | 2 +- gcc/toplev.c | 3 ++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d9a94d..9f78348 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @

Re: Re: [PATCH IRA] save a bitmap check

2015-06-25 Thread Zhouyi Zhou
be of more beneficial :-) Cheers Zhouyi -Original Messages- From: Vladimir Makarov vmaka...@redhat.com Sent Time: Thursday, June 25, 2015 To: Zhouyi Zhou yizhouz...@ict.ac.cn, gcc-patches@gcc.gnu.org Cc: Subject: Re: [PATCH IRA] save a bitmap check On 06/25/2015 11:08 AM

[PATCH IRA] save a bitmap check

2015-06-24 Thread Zhouyi Zhou
the end of that function). Bootstrap and regtest scheduled on x86_64 GNU/Linux Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn --- gcc/ChangeLog | 4 gcc/ira-color.c | 6 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1f82b2

Ping: [PATCH V2] IRA: Speed up setup_left_conflict_sizes_p

2015-03-23 Thread Zhouyi Zhou
parent in current function context. Thanks and Regards Zhouyi -- Forwarded message -- From: Zhouyi Zhou zhouzho...@gmail.com Date: Thu, Mar 12, 2015 at 9:34 AM Subject: [PATCH V2] IRA: Speed up setup_left_conflict_sizes_p To: gcc-patches@gcc.gnu.org, richard.guent...@gmail.com Cc

[PATCH V2] IRA: Speed up setup_left_conflict_sizes_p

2015-03-11 Thread Zhouyi Zhou
From: Zhouyi Zhou zhouzho...@gmail.com In function setup_left_conflict_sizes_p, left conflict subnodes sizes are computed in a bottom-to-up fashion through the regnodes foreast. Speed up the process from prevent node itself to involve in this computation. I have no write access to GCC SVN

[PATCH ] IRA: Speed up setup_left_conflict_sizes_p

2015-03-10 Thread Zhouyi Zhou
From: Zhouyi Zhou yizhouz...@ict.ac.cn In function setup_left_conflict_sizes_p, left conflict subnodes sizes are computed in a down-to-up fashion through the regnodes foreast. Speed up the process from prevent node itself to involve in this computation. Bootstrap and regtest scheduled

[PATCH] gcc/ira-color.c: save a init statement

2015-02-08 Thread Zhouyi Zhou
Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn --- gcc/ChangeLog |3 +++ gcc/ira-color.c |3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bd74326..577b57e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,6 @@ +2015-02

Re: Re: [PATCH 1/1] gcc/ira-build.c: save a conflict obj compare in ira_flattening

2014-12-22 Thread Zhouyi Zhou
Thanks Jeff for reviewing, I forget to mention that I do not have write access to gcc. Can you install for me ? Cheers Zhouyi -Original Messages- From: Jeff Law l...@redhat.com Sent Time: Tuesday, December 23, 2014 To: Zhouyi Zhou zhouzho...@gmail.com, gcc-patches@gcc.gnu.org Cc

[PATCH 1/1] gcc/ira-build.c: save a conflict obj compare in ira_flattening

2014-12-21 Thread Zhouyi Zhou
Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn --- gcc/ChangeLog |5 + gcc/ira-build.c |2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e5d16f9..c0ce758 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-22

[PATCH] gcc/ira-conflicts.c: avoid conflict obj compare with itself

2014-11-16 Thread Zhouyi Zhou
From: Zhouyi Zhou yizhouz...@ict.ac.cn In function build_conflict_bit_table, id is set in objects_live before traversing that sparseset, so the obj is unnessary compared with itself during the traversing. The comparing of obj with itself can be avoided by means of moving sparseset_set_bit

[PATCH 1/1][ira-costs] grammar fix of comments

2014-05-14 Thread Zhouyi Zhou
Fix grammar error for comments above process_bb_node_for_hard_reg_moves Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn --- gcc/ira-costs.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c index 648806b..fbfb070 100644 --- a/gcc/ira

[PATCH] TREE-SSA remove redundant condition checks in get_default_value

2013-08-12 Thread Zhouyi Zhou
or a gimple phi node, it will never satisfy the condition gimple_assign_single_p (stmt). so there exists redundant condition checks. The patch attached try to remove this. Bootstrap passed. Regression tested on x86_64-unknown-linux-gnu (pc). ChangeLog: 2013-08-13 Zhouyi Zhou yizhouz...@ict.ac.cn

Re: [PATCH v3]IPA: fixing inline fail report caused by overwritable functions.

2013-04-10 Thread Zhouyi Zhou
Thanks Richard, nice adding, regression passed on my x86_64 GNU/Linux On Wed, Apr 10, 2013 at 5:22 PM, Richard Biener richard.guent...@gmail.com wrote: On Tue, Apr 9, 2013 at 5:10 PM, Zhouyi Zhou zhouzho...@gmail.com wrote: Hi Richard, I do not have write access to GCC SVN repository, can you

Re: [PATCH v3]IPA: fixing inline fail report caused by overwritable functions.

2013-04-09 Thread Zhouyi Zhou
Hi Richard, I do not have write access to GCC SVN repository, can you commit it for me? Thanks alot Cheers On Tue, Apr 9, 2013 at 5:04 PM, Richard Biener richard.guent...@gmail.com wrote: On Tue, Apr 9, 2013 at 5:40 AM, Zhouyi Zhou zhouzho...@gmail.com wrote: On Mon, Apr 8, 2013 at 5:48 PM

Re: [PATCH v3]IPA: fixing inline fail report caused by overwritable functions.

2013-04-08 Thread Zhouyi Zhou
-linux ChangeLog: 2013-04-08 Zhouyi Zhou yizhouz...@ict.ac.cn * cif-code.def (OVERWRITABLE): correct the comment for overwritable function * ipa-inline.c (can_inline_edge_p): let dump mechanism report the inline fail caused by overwritable functions

[PATCH v3]IPA: fixing inline fail report caused by overwritable functions.

2013-04-07 Thread Zhouyi Zhou
When inline failed because of callee is overwritable, gcc will not report it in dump file (triggered by -fdump-tree-einline) as other not inlinable cases do. This patch correct this. Regtested/bootstrapped on x86_64-linux. ChangeLog: 2013-04-08 Zhouyi Zhou yizhouz...@ict.ac.cn * cif