This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/14814] no folding back to ARRAY_REF for COMPONENT_REF


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-23 03:21 -------
Here is what the two functions have at .t34.dom2:
  T.1_3 = &r_1->e;
  T.2_4 = (double *)T.1_3;
  T.4_5 = T.2_4 + 8B;
  T.3_7 = *T.4_5;
--------
  T.5_2 = r_1->e[1];

if we could fold the first one into the second, we could fix this bug as we then prograte the constant 
and remove the dead code as we know longer need the struct living in memory at all.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14814


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