https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61825
--- Comment #6 from Jan Hubicka <hubicka at ucw dot cz> --- Hi, sorry for the delay, the problem is that I do not feel good about putting back the old code from fold-const, since it simply does not make sense. I need to dive into the C++ standard what it says about this particular case and how that corelate with our weak and visibility attributes. I will try to find time for that this week. Honza