Re: Question about inlining and strict_aliasing

2017-01-09 Thread Martin Liška
On 01/09/2017 02:34 PM, Jan Hubicka wrote: >> Hello. >> >> I've been working on a patch that would cope with target and optimization >> (read PerFunction) >> in a proper way. I came to following test-case (slightly modified >> ./gcc/testsuite/gcc.c-torture/execute/alias-1.c): >> >> int val; >> >>

Re: Question about inlining and strict_aliasing

2017-01-09 Thread Jan Hubicka
> Hello. > > I've been working on a patch that would cope with target and optimization > (read PerFunction) > in a proper way. I came to following test-case (slightly modified > ./gcc/testsuite/gcc.c-torture/execute/alias-1.c): > > int val; > > int *ptr = &val; > float *ptr2 = &val; > > stati

Question about inlining and strict_aliasing

2017-01-09 Thread Martin Liška
Hello. I've been working on a patch that would cope with target and optimization (read PerFunction) in a proper way. I came to following test-case (slightly modified ./gcc/testsuite/gcc.c-torture/execute/alias-1.c): int val; int *ptr = &val; float *ptr2 = &val; static __attribute__((always_in