On Thu, Oct 27, 2005 at 11:10:10PM +0200, Eric Botcazou wrote: > > Try again on ia32 with -fpic. That should go through > > dw2_force_const_mem just the same. > > Right, but the problem doesn't trigger, probably because of the relative > encoding: > > .LLSDACSE3: > .byte 0x1 > .byte 0x0 > .align 4 > .long DW.ref._ZTIZ3foovE1S-.
What's that got to do with anything? Either we reference the same type_info in both functions or we don't. The name here would seem to imply that we *are* mangling the type name: "typeinfo for foo()::S". Which begs the question of why you're seeing something different for ia64. r~