public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65154] New: ICE with {} initialized array with string
Date: Sat, 21 Feb 2015 10:21:00 -0000 [thread overview]
Message-ID: <bug-65154-4@http.gcc.gnu.org/bugzilla/> (raw)
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]{};
}
next reply other threads:[~2015-02-21 9:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-21 10:21 pinskia at gcc dot gnu.org [this message]
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
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-65154-4@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).