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: [tree-ssa] extra copy


<Diego Novillo>
Avoiding them using scalar replacement of aggregates (SRA).

  factor.re = 123;	|   SR.2_11 = 123;
  factor.im = 428;	|   SR.3_12 = 428;

  factor.1 = factor;	|   SR.4_13 = SR.2_11;
               		|   SR.5_14 = SR.3_12;

  Zi = factor.1;	|   Zi.re = SR.4_13;
                	|   Zi.im = SR.5_14;
</Diego Novillo>

Thats cool, does it solve PR6883 (and the many other similar ones that
probably exist)?

Thanks,

Richard.


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