public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/47326] [4.4/4.5/4.6 Regression] ICE in tsubst_copy (triggered by dependency of return type on parameter pack size)
Date: Tue, 08 Feb 2011 14:16:00 -0000	[thread overview]
Message-ID: <bug-47326-4-ywGuQ2nnnb@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-47326-4@http.gcc.gnu.org/bugzilla/>

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-08 14:13:31 UTC ---
Calling this a regression is interesting.  GCC 4.3 rejects the code:

> /space/rguenther/install/gcc-4.3.5/bin/g++ -S t.ii -std=c++0x
../src/simple-tests/bug-gcc-ICE-return_type_depends_on_variadic_size.cpp:7:
error: expected initializer before '->' token
../src/simple-tests/bug-gcc-ICE-return_type_depends_on_variadic_size.cpp: In
function 'int main()':
../src/simple-tests/bug-gcc-ICE-return_type_depends_on_variadic_size.cpp:12:
error: 'f' was not declared in this scope

it remains to be stated whether the code is valid or not, ICEing instead
of rejecting it is a regression.


  parent reply	other threads:[~2011-02-08 14:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-17  8:02 [Bug c++/47326] New: " schmidt-thieme at ismll dot de
2011-01-17 11:31 ` [Bug c++/47326] " paolo.carlini at oracle dot com
2011-01-17 16:03 ` hjl.tools at gmail dot com
2011-01-17 22:34 ` schmidt-thieme at ismll dot de
2011-01-18 14:21 ` [Bug c++/47326] [4.4/4.5/4.6 Regression] " hjl.tools at gmail dot com
2011-02-08 14:16 ` rguenth at gcc dot gnu.org [this message]
2011-02-08 14:36 ` redi at gcc dot gnu.org
2011-02-16 13:39 ` [Bug c++/47326] [4.4/4.5/4.6 Regression][C++0x] " dodji at gcc dot gnu.org
2011-02-16 16:31 ` dodji at gcc dot gnu.org
2011-02-16 20:45 ` dodji at gcc dot gnu.org
2011-02-16 21:09 ` dodji 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-47326-4-ywGuQ2nnnb@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).