[Bug c++/28787] Internal compiler error (ICE) when trying to initialize function in template

2006-08-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-08-21 10:48 --- Indeed a dup of that PR. *** This bug has been marked as a duplicate of 27807 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28787] Internal compiler error (ICE) when trying to initialize function in template

2006-08-21 Thread vlukas at gmx dot de
--- Comment #2 from vlukas at gmx dot de 2006-08-21 11:01 --- Indeed a dup of that PR. *** This bug has been marked as a duplicate of 27807 *** I do not mean to sound impertinent, but with GCC 4.2.0 20060820 (experimental), I can not reproduce bug 27807. However the code I submitted

[Bug c++/28787] Internal compiler error (ICE) when trying to initialize function in template

2006-08-21 Thread vlukas at gmx dot de
--- Comment #3 from vlukas at gmx dot de 2006-08-21 12:04 --- A variation of the code crashes GCC 4.2.0 20060820 (experimental) with a different ICE: -- templatetypename void f() { typedef void (t)(); t a = x; } void g() { fint(); } -- This produces the following output:

[Bug c++/28787] Internal compiler error (ICE) when trying to initialize function in template

2006-08-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-21 18:29 --- (In reply to comment #3) A variation of the code crashes GCC 4.2.0 20060820 (experimental) with a different ICE: That is most likely PR 27961. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28787