This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR c++/42556 (try 2)


Jie Zhang wrote:
> This patch is a simplified version of my initial patch:
> 
> http://gcc.gnu.org/ml/gcc-patches/2010-03/msg01039.html
> 
> Compared to the old patch, this one only handles the case that all
> elements of the initializer are non-constant and split out in
> split_nonconstant_init_1. This patch is done in C++ front end and does
> not touch gimplifier. Hope this will be easier to be accepted. Is it OK?

This patch is OK if it passes the testsuite.  I agree that it would be
nice if the downstream optimizers could do this for us, but there's
nothing wrong with simplifying things for them in the front end.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]