[PATCH 1/4] Mark all member functions with memory models always inline
Richard Biener
richard.guenther@gmail.com
Wed Mar 20 11:29:00 GMT 2013
On Wed, Mar 20, 2013 at 12:24 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Wed, Mar 20, 2013 at 12:20:27PM +0100, Richard Biener wrote:
>> Walking the SSA def chain would also be possible - preferably from
>> cfgexpand.c when we process the stmt. But you'll eventually lose
>> debug info like for
>>
>> int i = 1;
>> __builtin_foo (i);
>>
>> when we then never expand the SSA name def i_2 = 1 because we are
>> never visiting its use ...
>
> If i is a user variable, then for -O0 we'd better create a memory slot for
> it and expand the i = 1 store as store to that memory location.
Ok, we seem to do that...
Richard.
> Jakub
More information about the Libstdc++
mailing list