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 debug/46583] [4.6 Regression] -fcompare-debug failure with -O -fno-inline -fipa-cp -fipa-cp-clone


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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |aoliva at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2010-11-21 07:51:45 UTC ---
Mine.  The order changed because we discarded the typedef decl from the block
scope in the original function.  When the time came to clone it, we'd remap the
typedef type after variable a3 of that type, and a3 would not be nonlocalized,
whereas with debug info we retained the typedef, cloned the type first, and a3
would be nonlocalized.  The patch I'm going to attach momentarily fixes this by
keeping the typedef around.


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