public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/79161] possibly lost DCE / invariant motion optimization
       [not found] <bug-79161-4@http.gcc.gnu.org/bugzilla/>
@ 2023-06-21  4:14 ` pinskia at gcc dot gnu.org
  2023-06-21  6:20 ` skvadrik at gmail dot com
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-21  4:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this is fixed for GCC 10 by r10-1052-gc29c92c789d9 (and the related
patch after that which disable it for the C front-end but enables it for
C++11+)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tree-optimization/79161] possibly lost DCE / invariant motion optimization
       [not found] <bug-79161-4@http.gcc.gnu.org/bugzilla/>
  2023-06-21  4:14 ` [Bug tree-optimization/79161] possibly lost DCE / invariant motion optimization pinskia at gcc dot gnu.org
@ 2023-06-21  6:20 ` skvadrik at gmail dot com
  1 sibling, 0 replies; 2+ messages in thread
From: skvadrik at gmail dot com @ 2023-06-21  6:20 UTC (permalink / raw)
  To: gcc-bugs

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

Ulya <skvadrik at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Ulya <skvadrik at gmail dot com> ---
> I think this is fixed for GCC 10 by r10-1052-gc29c92c789d9 (and the related patch after that which disable it for the C front-end but enables it for C++11+)

Indeed! GCC generates `return 0` as well now. Thank you Andrew.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-21  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-79161-4@http.gcc.gnu.org/bugzilla/>
2023-06-21  4:14 ` [Bug tree-optimization/79161] possibly lost DCE / invariant motion optimization pinskia at gcc dot gnu.org
2023-06-21  6:20 ` skvadrik at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).