public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/36023] [4.1/4.3/4.4 regression] ICE with cast to variable-sized object Date: Wed, 21 May 2008 19:57:00 -0000 [thread overview] Message-ID: <20080521195649.21452.qmail@sourceware.org> (raw) In-Reply-To: <bug-36023-1771@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from jakub at gcc dot gnu dot org 2008-05-21 19:56 ------- Subject: Bug 36023 Author: jakub Date: Wed May 21 19:56:03 2008 New Revision: 135734 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135734 Log: PR c++/36023 * cp-tree.h (check_array_initializer): New prototype. * decl.c (check_array_initializer): New function. (check_initializer): Call it. * semantics.c (finish_compound_literal): Call it for ARRAY_TYPEs. * g++.dg/ext/complit10.C: New test. Added: trunk/gcc/testsuite/g++.dg/ext/complit10.C Modified: trunk/gcc/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/decl.c trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36023
next prev parent reply other threads:[~2008-05-21 19:57 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-04-23 6:44 [Bug c++/36023] New: " reichelt at gcc dot gnu dot org 2008-04-23 6:44 ` [Bug c++/36023] " reichelt at gcc dot gnu dot org 2008-04-28 4:33 ` mmitchel at gcc dot gnu dot org 2008-04-28 17:51 ` jakub at gcc dot gnu dot org 2008-05-21 19:57 ` jakub at gcc dot gnu dot org [this message] 2008-05-21 19:58 ` jakub at gcc dot gnu dot org 2008-05-21 19:59 ` jakub at gcc dot gnu dot org 2008-05-21 20:00 ` jakub at gcc dot gnu dot 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=20080521195649.21452.qmail@sourceware.org \ --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: linkBe 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).