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 middle-end/33199] [4.3 Regression] tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc



------- Comment #15 from rguenth at gcc dot gnu dot org  2007-08-28 13:54 -------
The first difference (between -g and non--g build) is after DSE where for the
-g
build it doesn't delete a redundant store.  Which is because we have different
alias information with/without -g (in fact this effect looks like a dup of
PR32624):

-  D.10781_25 = &D.10780_24->D.10279;
-  # SMT.491_337 = VDEF <SMT.491_331(ab)>
-  D.10780_24->D.10279._vptr._Sp_counted_base =
&_ZTVNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EEE[2];
-  # SMT.491_339 = VDEF <SMT.491_337>
-  D.10780_24->D.10279._M_use_count = 1;
-  # SMT.491_341 = VDEF <SMT.491_339>
-  D.10780_24->D.10279._M_weak_count = 1;
-  # SMT.491_342 = VDEF <SMT.491_341>
-  D.10780_24->D.10279._vptr._Sp_counted_base =
&_ZTVNSt3tr121_Sp_counted_base_implIP1BNS_11_Sp_deleterIS1_EELN9__gnu_cxx12_Lock_policyE1EEE[2];
-  # SMT.491_343 = VDEF <SMT.491_342>
-  D.10780_24->_M_ptr = D.9911_4;
-  # VUSE <__d_335>
-  # SMT.491_344 = VDEF <SMT.491_343>
-  D.10780_24->_M_del = __d;
+  D.10923_25 = &D.10922_24->D.10280;
+  # SMT.487_370 = VDEF <SMT.487_353(ab)>
+  # SMT.488_360 = VDEF <SMT.488_354(ab)>
+  D.10922_24->D.10280._vptr._Sp_counted_base =
&_ZTVNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EEE[2];
+  # SMT.487_26 = VDEF <SMT.487_370>
+  # SMT.488_361 = VDEF <SMT.488_360>
+  D.10922_24->D.10280._M_use_count = 1;
+  # SMT.487_345 = VDEF <SMT.487_26>
+  # SMT.488_362 = VDEF <SMT.488_361>
+  D.10922_24->D.10280._M_weak_count = 1;
+  # SMT.487_363 = VDEF <SMT.487_345>
+  # SMT.488_364 = VDEF <SMT.488_362>
+  D.10922_24->D.10280._vptr._Sp_counted_base =
&_ZTVNSt3tr121_Sp_counted_base_implIP1BNS_11_Sp_deleterIS1_EELN9__gnu_cxx12_Lock_policyE1EEE[2];
+  # SMT.487_365 = VDEF <SMT.487_363>
+  # SMT.488_366 = VDEF <SMT.488_364>
+  D.10922_24->_M_ptr = D.9912_4;
+  # VUSE <__d_359>
+  # SMT.487_367 = VDEF <SMT.487_365>
+  # SMT.488_368 = VDEF <SMT.488_366>
+  D.10922_24->_M_del = __d;


note how we have two SMTs per store for -g but only one without -g.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dberlin at gcc dot gnu dot
                   |                            |org, dnovillo at gcc dot gnu
                   |                            |dot org


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


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