This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trunk<-vta] Re: [vta, 4.4] make df-scan df_collection_rec arrays overflow-safe
On Tue, Jun 2, 2009 at 12:32 PM, Paolo Bonzini <paolo.bonzini@gmail.com> wrote:
> Richard Guenther wrote:
>>
>> On Mon, Jun 1, 2009 at 6:39 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>>>>
>>>> Does anybody think that would be a bad idea?
>>>
>>> No, on the contrary it is a good idea.
>>
>> Can we have compile-time checking that you not let such VEC
>> escape somehow?
>
> How would you do that??
No idea - thus my question ;) Ok, we can add some attributes, or
warn if the address of a local escapes.
Richard.
> Paolo
>