--- Comment #3 from hubicka at gcc dot gnu dot org 2010-09-17 00:32 ---
Fixed.
--
hubicka at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRM
The first case works without any errors:
#include
template
class A {
};
template
class B : A > {
std::tuple t;
};
Now, altering the tuple to hold a struct derived from Types also works:
template
struct C_M { };
template
class C : A > {
std::tuple...> t;
};
However, declaring the s
-libstdcxx-time=yes --enable-plugin
--enable-gold --with-plugin-ld=ld.gold --with-tune=generic --disable-werror
--enable-checking=yes --program-suffix=-4.6
Thread model: posix
gcc version 4.6.0 20100916 (experimental) (GCC)
The version of 4.5 is:
$ g++-4.5 -v
Using built-in specs.
COLLECT_GCC=/usr/b
--- Comment #1 from bredelin at ucla dot edu 2010-09-17 00:52 ---
Created an attachment (id=21814)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21814&action=view)
The problem file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699
--- Comment #2 from bredelin at ucla dot edu 2010-09-17 00:53 ---
Created an attachment (id=21815)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21815&action=view)
Preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-09-17 01:05 ---
OK, problem is that we both devirtualize and clone the destination function.
Then when producing clone, we run into:
cgraph_update_edges_for_call_stmt_node (struct cgraph_node *node,
--- Comment #3 from hubicka at gcc dot gnu dot org 2010-09-17 01:07 ---
testing patch.
--
hubicka at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|u
--- Comment #4 from hubicka at gcc dot gnu dot org 2010-09-17 01:09 ---
patch posted.
--
hubicka at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|un
--- Comment #1 from redi at gcc dot gnu dot org 2010-09-17 01:25 ---
The 'typename' should not be necessary, and 4.5 and 4.6 compile it without
problems
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45698
101 - 109 of 109 matches
Mail list logo