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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Btw, the C frontend produces optimized code here - it simply uses

  return select != 0 ? a : b;

in its GENERIC.  Maybe the C++ FE can avoid building a TARGET_EXPR like that
or use 

return <retval> = TARGET_EXPR <D.2294, select ? a : b>

that is, without going through the address-taking and dereferencing game?

Reply via email to