This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RTL alias analysis


On Sun, 22 Jan 2006, Richard Sandiford wrote:

> I'm going to regret this, but... I don't follow.  How is Kai's testcase
> different from:
> 
> int ii;
> double dd;
> void foo (int *ip, double *dp)
> {
>   *ip = 15;
>   ii = *ip;
>   *dp = 1.5;
>   dd = *dp;
> }
> 
> void test (void)
> {
>   union { int i; double d; } u;
>   foo (&u.i, &u.d);
> }

You have read DR#236 and the subsequent discussions in the past five 
years' WG14 papers (e.g. N1111), right?

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]