[Bug c++/51833] ICE in tsubst_copy, at cp/pt.c:11333

2013-02-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51833 --- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com 2013-02-15 11:32:02 UTC --- This is fixed in mainline. I'm adding the reduced testcase and closing the issue.

[Bug c++/51833] ICE in tsubst_copy, at cp/pt.c:11333

2013-02-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51833 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW

[Bug c++/51833] ICE in tsubst_copy, at cp/pt.c:11333

2012-01-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51833 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/51833] ICE in tsubst_copy, at cp/pt.c:11333

2012-01-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51833 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2012-01-12 09:34:49 UTC --- It's not valid, you can't pass a function type by value

[Bug c++/51833] ICE in tsubst_copy, at cp/pt.c:11333

2012-01-12 Thread naddiseo at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51833 --- Comment #5 from Richard Eames naddiseo at gmail dot com 2012-01-12 20:01:15 UTC --- I've reduced the testcase further. It appears to be a problem with templates. The reason I was passing a function type in the template was because

[Bug c++/51833] ICE in tsubst_copy, at cp/pt.c:11333

2012-01-12 Thread naddiseo at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51833 --- Comment #6 from Richard Eames naddiseo at gmail dot com 2012-01-12 20:01:52 UTC --- Created attachment 26309 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26309 Reduced test case

[Bug c++/51833] ICE in tsubst_copy, at cp/pt.c:11333

2012-01-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51833 --- Comment #7 from Jonathan Wakely redi at gcc dot gnu.org 2012-01-12 20:43:04 UTC --- Further reduced struct function { templatetypename T function(T) { } }; class Foo { public: templatetypename void dostuff(function callback =

[Bug c++/51833] ICE in tsubst_copy, at cp/pt.c:11333

2012-01-11 Thread naddiseo at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51833 --- Comment #1 from Richard Eames naddiseo at gmail dot com 2012-01-12 05:31:05 UTC --- Created attachment 26304 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26304 Testcase

[Bug c++/51833] ICE in tsubst_copy, at cp/pt.c:11333

2012-01-11 Thread naddiseo at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51833 Richard Eames naddiseo at gmail dot com changed: What|Removed |Added Known to fail||4.7.0 ---