This is the mail archive of the gcc@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: RFC: redundant stores in C++



On Oct 1, 2005, at 11:10 PM, Dale Johannesen wrote:


But better fix would be not call split_nonconstant_init_1 for
local decls and have the front-end produce a CONSTRUCTOR which is
just like what the C front-end produces.

I'll try it.


This patch should fix the problem and also fixes FSF PR 8045 at
the same time.  FSF PR 8045 is about an missing unused variable
causes by this code.

This patch causes us to be more similar with the C front-end.  It
should also cause us save us some compile time issue when gimplifing
and memory too.

Note I have not tested this yet by either looking at the code gen
or even compiling it.

I will be doing a bootstrap/test of this right now.

-- Pinski


Attachment: t2.diff.txt
Description: Text document


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