public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/65154] New: ICE with {} initialized array with string
@ 2015-02-21 10:21 pinskia at gcc dot gnu.org
  2015-02-24 22:30 ` [Bug c++/65154] " maltsevm at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-02-21 10:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65154
           Summary: ICE with {} initialized array with string
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org

Non-reduced unincluded testcase:
#include <string>

struct C {
  std::string s;
};

int main() {
  C cs[5]{};
}

--- CUT ---
t.cc: In function ‘int main()’:
t.cc:8:11: internal compiler error: in gimplify_init_constructor, at
gimplify.c:4109
   C cs[5]{};
           ^
Please submit a full bug report,
with preprocessed source if appropriate.
>From gcc-bugs-return-478038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 21 10:21:08 2015
Return-Path: <gcc-bugs-return-478038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22886 invoked by alias); 21 Feb 2015 10:21:08 -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 22850 invoked by uid 48); 21 Feb 2015 10:21:05 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65154] ICE with {} initialized array with string
Date: Sat, 21 Feb 2015 12:47: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
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-65154-4-T49VPJWeIY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65154-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65154-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-02/txt/msg02370.txt.bz2
Content-length: 224

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
struct ss {
    ss() {};
};
struct C {
      ss s;
};
int main() {
      C cs[5]{};
}


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

end of thread, other threads:[~2015-03-26 20:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-21 10:21 [Bug c++/65154] New: ICE with {} initialized array with string pinskia at gcc dot gnu.org
2015-02-24 22:30 ` [Bug c++/65154] " maltsevm at gmail dot com
2015-02-26 10:56 ` mpolacek at gcc dot gnu.org
2015-03-25 14:30 ` [Bug c++/65154] [4.8/4.9/5 Regression] " mpolacek at gcc dot gnu.org
2015-03-25 14:56 ` jakub at gcc dot gnu.org
2015-03-25 15:39 ` maltsevm at gmail dot com
2015-03-26 18:39 ` jason at gcc dot gnu.org
2015-03-26 20:04 ` jason at gcc dot gnu.org
2015-03-26 20:05 ` jason at gcc dot gnu.org
2015-03-26 20:35 ` jason at gcc dot gnu.org

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).