------- Comment #27 from rguenth at gcc dot gnu dot org  2007-09-25 13:58 
-------
tree-dse also miscompiles perls pp_pack.c.
It removes the store to symptr->patend here:

  # MPT.498_212 = VDEF <MPT.498_210>
  symptr_19(D)->patend = D.14885_146;
  lenptr.50_147 = (char *) patptr_128;
  # MPT.498_213 = VDEF <MPT.498_212>
  symptr_19(D)->patptr = lenptr.50_147;
  # MPT.498_214 = VDEF <MPT.498_213>
  D.14887_148 = S_measure_struct (my_perl_44(D), symptr_19(D));

ignoring the use by S_measure_struct.  Which causes t/op/pack.t to fail.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |33383
              nThis|                            |


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

Reply via email to