RFC: redundant stores in C++

Andrew Pinski pinskia@physics.uc.edu
Sun Oct 2 10:13:00 GMT 2005


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


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: t2.diff.txt
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20051002/e2b055f5/attachment.txt>


More information about the Gcc mailing list