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 c++/37016] [4.3/4.4 Regression] member function pointer failure with optimization



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-08-04 09:18 -------
Ok, so SRA does

-  itemfunptrD.2084.__pfnD.2089 ={v} itemfunD.2085;
-  itemfunptrD.2084.__deltaD.2082 ={v} 0;
-  memfunD.2158 ={v} itemfunptrD.2084;

+  itemfunptr$__pfnD.2176_1 = itemfunD.2085;
+  itemfunptr$__deltaD.2175_21 = 0;
+  memfun$__pfnD.2180_25 = itemfunptr$__pfnD.2177_24(D);
+  memfun$__deltaD.2181_26 = itemfunptr$__deltaD.2175_21;

using a new scalar element for itemfunptr$__pfn instead of the just-assigned
one (which means, somehow the element lookup doesn't work).  I'll investigate.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-08-03 21:47:37         |2008-08-04 09:18:24
               date|                            |


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


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