public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/57153] [C++11] tries to use copy constructor for in-class initialized member in default constructor of template struct
Date: Mon, 06 May 2013 12:09:00 -0000	[thread overview]
Message-ID: <bug-57153-4-c0jQ3YjO8e@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-57153-4@http.gcc.gnu.org/bugzilla/>


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

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler at
                   |                            |googlemail dot com

--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2013-05-06 12:09:34 UTC ---
I agree that the code should be accepted, because the member initializer
performs direct-initialization. The very same problem also exists for gcc 4.9.0
20130428 (experimental).
>From gcc-bugs-return-421693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 06 12:16:16 2013
Return-Path: <gcc-bugs-return-421693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6104 invoked by alias); 6 May 2013 12:16:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 6072 invoked by uid 48); 6 May 2013 12:16:12 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/57183] [C++11] auto and -Wunused-variable
Date: Mon, 06 May 2013 12:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 4.8.1
X-Bugzilla-Changed-Fields: Status AssignedTo Target Milestone
Message-ID: <bug-57183-4-hlwdTINTCC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57183-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57183-4@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-05/txt/msg00366.txt.bz2
Content-length: 612


http://gcc.gnu.org/bugzilla/show_bug.cgi?idW183

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |paolo.carlini at oracle dot
                   |gnu.org                     |com
   Target Milestone|---                         |4.8.1

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-05-06 12:16:12 UTC ---
I have a patch.


  reply	other threads:[~2013-05-06 12:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-03  3:03 [Bug c++/57153] New: " f.heckenbach@fh-soft.de
2013-05-06 12:09 ` daniel.kruegler at googlemail dot com [this message]
2014-11-18 10:46 ` [Bug c++/57153] " paolo.carlini at oracle dot com
2014-11-18 11:38 ` paolo.carlini at oracle dot com

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-57153-4-c0jQ3YjO8e@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).