public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/29731] [4.0/4.1/4.2/4.3 regression] ICE with statement expression as template parameter
Date: Sun, 27 May 2007 21:16:00 -0000	[thread overview]
Message-ID: <20070527211607.20472.qmail@sourceware.org> (raw)
In-Reply-To: <bug-29731-1771@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from reichelt at gcc dot gnu dot org  2007-05-27 21:16 -------
Not really fixed.
The fix from comment #3 is incomplete as the following testcase still ICEs:

=================================
template<int> struct A {};

void foo()
{
  A<({})> a;
}
=================================

bug.cc: In function 'void foo()':
bug.cc:5: internal compiler error: in uses_template_parms, at cp/pt.c:5924
Please submit a full bug report, [etc.]

Btw. this testcase is even worse as the original one, because there's no
error message before the ICE.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|error-recovery              |
           Priority|P4                          |P3
            Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1/4.2/4.3 regression]
                   |with statement expression as|ICE with statement
                   |template parameter          |expression as template
                   |                            |parameter


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


  parent reply	other threads:[~2007-05-27 21:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-05 20:39 [Bug c++/29731] New: " reichelt at gcc dot gnu dot org
2006-11-05 23:20 ` [Bug c++/29731] " reichelt at gcc dot gnu dot org
2006-11-12 20:38 ` mmitchel at gcc dot gnu dot org
2006-11-26  0:21 ` pinskia at gcc dot gnu dot org
2006-12-09 18:35 ` patchapp at dberlin dot org
2006-12-31 16:09 ` simartin at gcc dot gnu dot org
2007-02-03  0:18 ` [Bug c++/29731] [4.0/4.1/4.2 " simartin at gcc dot gnu dot org
2007-02-03 20:55 ` gdr at gcc dot gnu dot org
2007-02-03 21:03 ` pinskia at gcc dot gnu dot org
2007-02-14  9:26 ` mmitchel at gcc dot gnu dot org
2007-05-27 21:16 ` reichelt at gcc dot gnu dot org [this message]
2007-06-29 17:38 ` [Bug c++/29731] [4.0/4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
2007-09-03 12:09 ` pcarlini at suse dot de
2007-09-05  9:32 ` paolo at gcc dot gnu dot org
2007-09-05  9:33 ` [Bug c++/29731] [4.0/4.1/4.2 " pcarlini at suse dot de
2008-07-04 21:44 ` [Bug c++/29731] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-30 19:42 ` jsm28 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=20070527211607.20472.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: 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).