On Thu, 2 Oct 2008, [EMAIL PROTECTED] wrote: > I was wondering if you could help me figure out how to fix the tests > g++.old-deja/g++.other/static14.C and g++.old-deja/g++.other/static20.C > which started failing on IA64 HP-UX at version 138150 when you checked > in the C++ inlining change. Here is a minimal test: > > struct basic_string { ~basic_string() {} }; > struct Side { void name() { static basic_string sname; } }; > int main () { Side x; } > > Before your checkin this would compile and link correctly, > now it gives me an undefined symbol for Side::name()::sname.
Thanks for tracking this down, Steve. Interesting enough, I am seeing exactly the same on i386-unknown-freebsd6.3, cf. http://gcc.gnu.org/ml/gcc-testresults/2008-09/msg02509.html > I don't see this problem on IA64 Linux where the _tcf_0 function > is not output even when no optimization is done. I am not sure > why there is this difference between IA64 Linux and HP-UX. I also don't see this on GNU/Linux, so it must somehow be related to the OS, not to the architecture. Gerald