zero sized initializers with side effects discarded

Andrew Pinski pinskia@physics.uc.edu
Fri Sep 9 21:33:00 GMT 2005


On Sep 9, 2005, at 4:40 PM, Olivier Hainque wrote:

> Olivier Hainque wrote:
>>  I'm not yet clear why the call is not issued there. This is my first
>>  dive in the gimplifier, so it might well be simple.
>
>  FWIW, I think part of the problem is that TREE_SIDE_EFFECTS is not
>  set on the constructor, despite the presence of a function call in
>  the components.

I will take look into this, it might be just a simple gimplify_stmt
on the right hand side of the constructor.

-- Pinski



More information about the Gcc mailing list