public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/59823] [4.7/4.8/4.9 Regression] conversion operator to const X& causes copy-construction of temporary
Date: Wed, 15 Jan 2014 11:29:00 -0000	[thread overview]
Message-ID: <bug-59823-4-HeaLzYv1ew@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-59823-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59823

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.6.4
            Summary|conversion operator to      |[4.7/4.8/4.9 Regression]
                   |const X& causes             |conversion operator to
                   |copy-construction of        |const X& causes
                   |temporary                   |copy-construction of
                   |                            |temporary
      Known to fail|                            |4.7.4, 4.8.2, 4.9.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
GCC 4.6 correctly printed "copy assign" so this is a regression.


  reply	other threads:[~2014-01-15 11:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15 11:27 [Bug c++/59823] New: " redi at gcc dot gnu.org
2014-01-15 11:29 ` redi at gcc dot gnu.org [this message]
2014-01-27 20:09 ` [Bug c++/59823] [4.7/4.8/4.9 Regression] " jason at gcc dot gnu.org
2014-01-28  4:32 ` jason at gcc dot gnu.org
2014-01-28 14:03 ` jason at gcc dot gnu.org
2014-04-22 11:38 ` [Bug c++/59823] [4.7/4.8 " jakub at gcc dot gnu.org
2014-04-22 11:48 ` redi at gcc dot gnu.org
2014-08-01 18:34 ` [Bug c++/59823] [4.8 " jason at gcc dot gnu.org
2014-08-01 18:36 ` jason at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-59823-4-HeaLzYv1ew@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).