[Bug c++/70468] [4.9/5/6/7 Regression] ICE on invalid code on x86_64-linux-gnu in emit_mem_initializers, at cp/init.c:1109

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 20 17:34:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70468

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot com

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
The issue boils down to us wrongly accepting, eg:

template < typename = void > 
class A 
{
public:
  A () : f0 ( 1 ) { }
  A (int);

private:
  typedef A<> f0;
};

A<> a;


More information about the Gcc-bugs mailing list