public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/65815] New: std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error
@ 2015-04-20 15:16 andras.aszodi at csf dot ac.at
  2015-04-20 15:22 ` [Bug c++/65815] " mpolacek at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: andras.aszodi at csf dot ac.at @ 2015-04-20 15:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65815
           Summary: std::array initialization with initializer list: a =
                    {x,y,z} incorrectly flagged as syntax error
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andras.aszodi at csf dot ac.at

On Page 975 of "The C++ Programming Language", 4th edition, Bjarne Stroustrup
says:

"An array can be initialized by an initializer list:
array<int,3> a1 = { 1, 2, 3 };"

and Clang (V 3.5) accepts it. However, G++ 4.9.2 thinks this is an error:

"error: array must be initialized with a brace-enclosed initializer
     const std::array<double, 3> _ar0val = {1.0, -1.0, 1.0};"

The ugly fix is:

#ifdef __GNUC__
    const std::array<double, 3> _ar0val{{1.0, -1.0, 1.0}};
#else
    const std::array<double, 3> _ar0val = {1.0, -1.0, 1.0};
#endif

but of course it is still a bug.


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

* [Bug c++/65815] std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error
  2015-04-20 15:16 [Bug c++/65815] New: std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error andras.aszodi at csf dot ac.at
@ 2015-04-20 15:22 ` mpolacek at gcc dot gnu.org
  2015-04-20 15:31 ` redi at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-04-20 15:22 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

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

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Hm?  This compiles just fine for me:

#include <array>
const std::array<double, 3> q1 = {1.0, -1.0, 1.0};
const std::array<double, 3> q2{{1.0, -1.0, 1.0}};

So can you provide a complete test case?


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

* [Bug c++/65815] std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error
  2015-04-20 15:16 [Bug c++/65815] New: std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error andras.aszodi at csf dot ac.at
  2015-04-20 15:22 ` [Bug c++/65815] " mpolacek at gcc dot gnu.org
@ 2015-04-20 15:31 ` redi at gcc dot gnu.org
  2015-04-21 10:35 ` andras.aszodi at csf dot ac.at
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2015-04-20 15:31 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-04-20
     Ever confirmed|0                           |1

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Works for me, please provide a complete testcase and your exact g++ command.

https://gcc.gnu.org/bugs/


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

* [Bug c++/65815] std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error
  2015-04-20 15:16 [Bug c++/65815] New: std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error andras.aszodi at csf dot ac.at
  2015-04-20 15:22 ` [Bug c++/65815] " mpolacek at gcc dot gnu.org
  2015-04-20 15:31 ` redi at gcc dot gnu.org
@ 2015-04-21 10:35 ` andras.aszodi at csf dot ac.at
  2015-04-21 10:46 ` daniel.kruegler at googlemail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: andras.aszodi at csf dot ac.at @ 2015-04-21 10:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from andras.aszodi at csf dot ac.at ---
(In reply to Marek Polacek from comment #1)
> Hm?  This compiles just fine for me:
> 
> #include <array>
> const std::array<double, 3> q1 = {1.0, -1.0, 1.0};
> const std::array<double, 3> q2{{1.0, -1.0, 1.0}};
> 
> So can you provide a complete test case?

Thanks a lot. Yes, this works for me, too:

#include <array>
#include <iostream>

int main(int argc, char *argv[]) {
  std::array<double, 2> a = {1.0, 2.0};
  std::cout << a[0] << ", " << a[1] << std::endl;
}

The problem manifests itself if the array is a member variable in a class and
initialised "inline". Details in my new comment below.


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

* [Bug c++/65815] std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error
  2015-04-20 15:16 [Bug c++/65815] New: std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error andras.aszodi at csf dot ac.at
                   ` (2 preceding siblings ...)
  2015-04-21 10:35 ` andras.aszodi at csf dot ac.at
@ 2015-04-21 10:46 ` daniel.kruegler at googlemail dot com
  2015-05-22 16:22 ` [Bug c++/65815] brace elision doesn't work in NSDMI paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: daniel.kruegler at googlemail dot com @ 2015-04-21 10:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
(In reply to andras.aszodi from comment #3)
> The problem manifests itself if the array is a member variable in a class
> and initialised "inline". Details in my new comment below.

There are no details anywhere. Please keep in mind that a complete code example
is generally required for an issue. So, if I understand you correctly, you have
the following code in mind:

//------------------------------
#include <array>

struct X 
{
  std::array<double, 3> q1 = {1.0, -1.0, 1.0}; 
};
//------------------------------

?
>From gcc-bugs-return-484160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 21 10:48:10 2015
Return-Path: <gcc-bugs-return-484160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74905 invoked by alias); 21 Apr 2015 10:48:09 -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 74845 invoked by uid 48); 21 Apr 2015 10:48:05 -0000
From: "andras.aszodi at csf dot ac.at" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65815] std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error
Date: Tue, 21 Apr 2015 10:48: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-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andras.aszodi at csf dot ac.at
X-Bugzilla-Status: WAITING
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65815-4-03U3N4q0YI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65815-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65815-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-04/txt/msg01712.txt.bz2
Content-length: 1229

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

--- Comment #5 from andras.aszodi at csf dot ac.at ---
If the array is a class member and it is initialized in-class then the
"single-brace" syntax gets flagged. Please try the following example:

// ----- file clarrinit.cc --
#include <array>
#include <iostream>

class Fred {
  public:
  const std::array<double, 2>& arr() const { return _a; }

  private:
  std::array<double, 2> _a = {1.0, 2.0}, // error
    _b{3.0, 4.0}, // error
    _c{{5.0, 6.0}}; // OK
};

int main(int argc, char *argv[]) {
  Fred f;
  std::cout << f.arr()[0] << std::endl;
}
// ----

Platform: Raspberry Pi 2, OS is Raspbian (not that it should matter IMO)
Command: `g++-4.9 -g -std=c++11 clarrinit.cc -o clarrinit`
Output: 
error: array must be initialized with a brace-enclosed initializer
   std::array<double, 2> _a = {1.0, 2.0},
                                       ^
clarrinit.cc:9:39: error: too many initializers for ‘std::array<double, 2u>’
clarrinit.cc:10:16: error: array must be initialized with a brace-enclosed
initializer
     _b{3.0, 4.0},
                ^
clarrinit.cc:10:16: error: too many initializers for ‘std::array<double, 2u>’
>From gcc-bugs-return-484161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 21 10:48:46 2015
Return-Path: <gcc-bugs-return-484161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76080 invoked by alias); 21 Apr 2015 10:48:45 -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 76039 invoked by uid 48); 21 Apr 2015 10:48:42 -0000
From: "andras.aszodi at csf dot ac.at" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65815] std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error
Date: Tue, 21 Apr 2015 10:48: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-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andras.aszodi at csf dot ac.at
X-Bugzilla-Status: WAITING
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65815-4-9aS7g1rlPH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65815-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65815-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-04/txt/msg01713.txt.bz2
Content-length: 791

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

--- Comment #6 from andras.aszodi at csf dot ac.at ---
You were too quick, I was too slow... please re-check :-)

(In reply to Daniel Krügler from comment #4)
> (In reply to andras.aszodi from comment #3)
> > The problem manifests itself if the array is a member variable in a class
> > and initialised "inline". Details in my new comment below.
> 
> There are no details anywhere. Please keep in mind that a complete code
> example is generally required for an issue. So, if I understand you
> correctly, you have the following code in mind:
> 
> //------------------------------
> #include <array>
> 
> struct X 
> {
>   std::array<double, 3> q1 = {1.0, -1.0, 1.0}; 
> };
> //------------------------------
> 
> ?
>From gcc-bugs-return-484162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 21 10:51:36 2015
Return-Path: <gcc-bugs-return-484162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94365 invoked by alias); 21 Apr 2015 10:51:35 -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 94331 invoked by uid 48); 21 Apr 2015 10:51:32 -0000
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65801] [5/6 Regression] Allow -Wno-narrowing to silence stricter C++11 narrowing rules
Date: Tue, 21 Apr 2015 10:51: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-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: manu at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-65801-4-9X7rxjR2fm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65801-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65801-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-04/txt/msg01714.txt.bz2
Content-length: 466

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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

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

--- Comment #16 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---

What is printed with -Wno-error=narrowing ?
>From gcc-bugs-return-484163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 21 10:56:16 2015
Return-Path: <gcc-bugs-return-484163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126243 invoked by alias); 21 Apr 2015 10:56:16 -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 125944 invoked by uid 48); 21 Apr 2015 10:56:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65815] brace elision doesn't work in NSDMI
Date: Tue, 21 Apr 2015 10:56: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-Version: 4.9.2
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status short_desc
Message-ID: <bug-65815-4-SUBV7NJUxs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65815-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65815-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-04/txt/msg01715.txt.bz2
Content-length: 735

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide815

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|WAITING                     |NEW
            Summary|std::array initialization   |brace elision doesn't work
                   |with initializer list: a =  |in NSDMI
                   |{x,y,z} incorrectly flagged |
                   |as syntax error             |

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Reduced:

struct array {
  int data [2];
};

struct X {
  array a = { 1, 2 };
};


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

* [Bug c++/65815] brace elision doesn't work in NSDMI
  2015-04-20 15:16 [Bug c++/65815] New: std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error andras.aszodi at csf dot ac.at
                   ` (3 preceding siblings ...)
  2015-04-21 10:46 ` daniel.kruegler at googlemail dot com
@ 2015-05-22 16:22 ` paolo.carlini at oracle dot com
  2015-06-09 14:59 ` paolo at gcc dot gnu.org
  2015-06-09 15:03 ` paolo.carlini at oracle dot com
  6 siblings, 0 replies; 8+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-05-22 16:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com

--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.


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

* [Bug c++/65815] brace elision doesn't work in NSDMI
  2015-04-20 15:16 [Bug c++/65815] New: std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error andras.aszodi at csf dot ac.at
                   ` (4 preceding siblings ...)
  2015-05-22 16:22 ` [Bug c++/65815] brace elision doesn't work in NSDMI paolo.carlini at oracle dot com
@ 2015-06-09 14:59 ` paolo at gcc dot gnu.org
  2015-06-09 15:03 ` paolo.carlini at oracle dot com
  6 siblings, 0 replies; 8+ messages in thread
From: paolo at gcc dot gnu.org @ 2015-06-09 14:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Jun  9 14:59:08 2015
New Revision: 224286

URL: https://gcc.gnu.org/viewcvs?rev=224286&root=gcc&view=rev
Log:
/cp
2015-06-09  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/65815
        * typeck2.c (digest_nsdmi_init): On aggregates use reshape_init.
        * init.c (expand_default_init): Likewise.

/testsuite
2015-06-09  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/65815
        * g++.dg/cpp0x/nsdmi-aggr1.C: New.
        * g++.dg/cpp0x/mem-init-aggr1.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/mem-init-aggr1.C
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-aggr1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/65815] brace elision doesn't work in NSDMI
  2015-04-20 15:16 [Bug c++/65815] New: std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error andras.aszodi at csf dot ac.at
                   ` (5 preceding siblings ...)
  2015-06-09 14:59 ` paolo at gcc dot gnu.org
@ 2015-06-09 15:03 ` paolo.carlini at oracle dot com
  6 siblings, 0 replies; 8+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-06-09 15:03 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
           Assignee|paolo.carlini at oracle dot com    |unassigned at gcc dot gnu.org
   Target Milestone|---                         |6.0

--- Comment #10 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed.


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

end of thread, other threads:[~2015-06-09 15:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-20 15:16 [Bug c++/65815] New: std::array initialization with initializer list: a = {x,y,z} incorrectly flagged as syntax error andras.aszodi at csf dot ac.at
2015-04-20 15:22 ` [Bug c++/65815] " mpolacek at gcc dot gnu.org
2015-04-20 15:31 ` redi at gcc dot gnu.org
2015-04-21 10:35 ` andras.aszodi at csf dot ac.at
2015-04-21 10:46 ` daniel.kruegler at googlemail dot com
2015-05-22 16:22 ` [Bug c++/65815] brace elision doesn't work in NSDMI paolo.carlini at oracle dot com
2015-06-09 14:59 ` paolo at gcc dot gnu.org
2015-06-09 15:03 ` paolo.carlini at oracle 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).