public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/47488] [4.4,4.5,4.6 Regression] (sizeof|decltype) + template + string literals: ICE in write_template_arg_literal, at cp/mangle.c
Date: Thu, 27 Jan 2011 11:23:00 -0000	[thread overview]
Message-ID: <bug-47488-4-CoOlzszTXS@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-47488-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-27 11:09:50 UTC ---
For this variation where f<T> is not deduced, 4.4 says "sorry, unimplemented"
but doesn't ICE, 4.5 and 4.6 ICE in the same place:

template < typename T >
int f( const char * );

template<int> struct N { };

template < typename T >
N<sizeof( f<T>( "" ) )> g( const T &t );

void h()
{
    g( 0 );
}


  parent reply	other threads:[~2011-01-27 11:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-27 11:04 [Bug c++/47488] New: [C++0x] decltype " flast at flast dot jp
2011-01-27 11:11 ` [Bug c++/47488] [4.4,4.5,4.6 Regression] (sizeof|decltype) " redi at gcc dot gnu.org
2011-01-27 11:23 ` redi at gcc dot gnu.org [this message]
2011-01-27 20:25 ` hjl.tools at gmail dot com
2011-01-27 20:27 ` hjl.tools at gmail dot com
2011-02-08 15:21 ` [Bug c++/47488] [4.4/4.5/4.6 " rguenth at gcc dot gnu.org
2011-02-22  9:51 ` jakub at gcc dot gnu.org
2011-03-08 16:05 ` jason at gcc dot gnu.org
2011-03-08 17:06 ` jason at gcc dot gnu.org
2011-03-08 17:31 ` [Bug c++/47488] sorry, unimplemented: string literal in function template signature jason at gcc dot gnu.org
2011-03-08 17:32 ` [Bug c++/47488] [4.4/4.5/4.6 Regression] (sizeof|decltype) + template + string literals: ICE in write_template_arg_literal, at cp/mangle.c jason at gcc dot gnu.org
2011-03-08 17:39 ` [Bug c++/47488] sorry, unimplemented: string literal in function template signature jason at gcc dot gnu.org
2011-03-08 17:40 ` jason at gcc dot gnu.org
2011-03-25 19:59 ` jakub at gcc dot gnu.org
2011-04-28 15:59 ` rguenth at gcc dot gnu.org
2013-11-05 22:04 ` jewillco at osl dot iu.edu

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-47488-4-CoOlzszTXS@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).