Movatterモバイル変換


[0]ホーム

URL:


Next:, Previous:, Up:Operands   [Contents][Index]


11.6.2 Compound Lvalues

Currently compound lvalues involving array and structure field referencesare not broken down; an expression likea.b[2] = 42 is not reducedany further (though complex array subscripts are). This restriction is aworkaround for limitations in later optimizers; if we were to convert thisto

T1 = &a.b;T1[2] = 42;

alias analysis would not remember that the reference toT1[2] cameby way ofa.b, so it would think that the assignment could aliasanother member ofa; this brokestruct-alias-1.c. Futureoptimizer improvements may make this limitation unnecessary.


[8]ページ先頭

©2009-2026 Movatter.jp