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 c++/70018] Possible issue around IPO and C++ inline functions


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70018

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Oh I see pure/const behavior.

The problem is more complex, in that in one TU, the comdat function is figured
out to be pure/const so we remove the store before the function call.  While in
the other we don't.  Now we got a comdat function which is pure in one TU while
not in the other case.  We use the non pure version of the comdat function.

I thought this was fixed in 6.

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