This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50870] [C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and default template arguments
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Oct 2011 22:10:11 +0000
- Subject: [Bug c++/50870] [C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and default template arguments
- Auto-submitted: auto-generated
- References: <bug-50870-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50870
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Last reconfirmed| |2011-10-26
CC|paolo.carlini at oracle dot |
|com |
Resolution|FIXED |
AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot
|gnu.org |com
Target Milestone|4.7.0 |4.6.3
Summary|[C++0x] ICE with decltype, |[C++0x] [4.6/4.7
|operator->, and default |Regression] ICE with
|template arguments |decltype, operator->, and
| |default template arguments
Ever Confirmed|0 |1
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-26 22:10:11 UTC ---
Uhhm, let's reopen this: first it's a 4.6 Regression too, second we are still
not Ok for impl template, eg:
template <class V>
struct impl
{
template <class T> static T create();
};
template <class T, class U, class V, class
= decltype(impl<V>::template create<T>()
-> impl<V>::template create<U>())>
struct tester { };
tester<impl<float>*, int, float> ti;