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]

Re: [Bug lto/63546] ICE: Segmentation fault in lto_get_decl_name_mapping on ppc64


Here we die because we do not have variable constructor in LTO stream because
the variable was optimized out at compile time already.  Do we still need to
build RTL here?  We can easily check for optimized out vars...

But if we need a placeholder RTL, I suppose most practical variant would be
to avoid get_variable_section from ICEing for those optimized out vars and
just assume something (it is all about decision whether the var will be in 
rodata/rodata.rel or rodata.rel.local - definitely not relevant for dwarf2out)


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