This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/10661: [3.3/3.4? regression] ICE in instantiate_decl


Hello Ewgenij,

I have just finished a first small analysys.

Your code is illegal: within iterator_chain<>::_init(), line 69731 is
ill-formed:

      Functions::init::defs<0>::_do(*owner, *this);

Functions::init::defs<0> is a dependent postfix-expression, so the code must
be changed to:

      Functions::init::template defs<0>::_do(*owner, *this);

With this change, your whole code can be compiled correctly. Thus, I change
the class of this bug to "ice-on-illegal-code". Again, I suggest you to test
this again with 3.4, which is much stricter wrt C++ standard conformance.

I will now continue work to reduce the ICE.

Giovanni Bajo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]