On Tue, Mar 6, 2018 at 4:50 PM, Bin.Cheng wrote:
> On Tue, Mar 6, 2018 at 4:44 PM, Martin Jambor wrote:
>> Hi Bin,
>>
>> On Tue, Mar 06 2018, Bin Cheng wrote:
>>> On Tue, Mar 6, 2018 at 2:28 PM, Richard Biener
Do you think the situation happens often enough to make this worthwhile?
>>>
On Tue, Mar 6, 2018 at 4:44 PM, Martin Jambor wrote:
> Hi Bin,
>
> On Tue, Mar 06 2018, Bin Cheng wrote:
>> On Tue, Mar 6, 2018 at 2:28 PM, Richard Biener
>>>
>>> Do you think the situation happens often enough to make this worthwhile?
>> There is one probably more useful case. Program may use gl
On 03/06/2018 09:28 AM, Richard Biener wrote:
> On Tue, Mar 6, 2018 at 1:00 PM, Prathamesh Kulkarni
> wrote:
>> Hi,
>> For the following test-case,
>>
>> int a;
>>
>> __attribute__((noinline))
>> static void foo()
>> {
>> a = 3;
>> }
>>
>> int main()
>> {
>> a = 4;
>> foo ();
>> return a;
Hi Bin,
On Tue, Mar 06 2018, Bin Cheng wrote:
> On Tue, Mar 6, 2018 at 2:28 PM, Richard Biener
>>
>> Do you think the situation happens often enough to make this worthwhile?
> There is one probably more useful case. Program may use global flags
> controlling
> how it does (heavy) computation. Su
On Tue, Mar 6, 2018 at 4:50 PM, Bin.Cheng wrote:
> On Tue, Mar 6, 2018 at 2:28 PM, Richard Biener
> wrote:
>> On Tue, Mar 6, 2018 at 1:00 PM, Prathamesh Kulkarni
>> wrote:
>>> Hi,
>>> For the following test-case,
>>>
>>> int a;
>>>
>>> __attribute__((noinline))
>>> static void foo()
>>> {
>>>
On Tue, Mar 6, 2018 at 2:28 PM, Richard Biener
wrote:
> On Tue, Mar 6, 2018 at 1:00 PM, Prathamesh Kulkarni
> wrote:
>> Hi,
>> For the following test-case,
>>
>> int a;
>>
>> __attribute__((noinline))
>> static void foo()
>> {
>> a = 3;
>> }
>>
>> int main()
>> {
>> a = 4;
>> foo ();
>> r
On Tue, Mar 6, 2018 at 1:00 PM, Prathamesh Kulkarni
wrote:
> Hi,
> For the following test-case,
>
> int a;
>
> __attribute__((noinline))
> static void foo()
> {
> a = 3;
> }
>
> int main()
> {
> a = 4;
> foo ();
> return a;
> }
>
> I assume it's safe to remove "a = 4" since 'a' would be o