[Bug c++/59378] Internal compiler error when using __builtin_shuffle in a template function
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 3 21:43:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59378
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-12-03
CC| |mpolacek at gcc dot gnu.org
Target Milestone|--- |4.8.3
Ever confirmed|0 |1
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed. With trunk and checking enabled:
i.C: In instantiation of ‘void traverse(v4si) [with int C = 0; v4si =
__vector(4) int]’:
i.C:6:31: required from here
i.C:4:23: internal compiler error: in tsubst_copy, at cp/pt.c:12863
v4si new_bounds = __builtin_shuffle(bounds,v4si{0,1,2,3});
^
0x6309f8 tsubst_copy
/home/marek/src/gcc/gcc/cp/pt.c:12863
0x63d373 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
/home/marek/src/gcc/gcc/cp/pt.c:15072
0x63d28d tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
/home/marek/src/gcc/gcc/cp/pt.c:15057
0x636b52 tsubst_expr
/home/marek/src/gcc/gcc/cp/pt.c:13777
0x6334e0 tsubst_expr
/home/marek/src/gcc/gcc/cp/pt.c:13299
0x633f2a tsubst_expr
/home/marek/src/gcc/gcc/cp/pt.c:13396
0x652266 instantiate_decl(tree_node*, int, bool)
/home/marek/src/gcc/gcc/cp/pt.c:19643
0x652c4f instantiate_pending_templates(int)
/home/marek/src/gcc/gcc/cp/pt.c:19755
0x6a8d17 cp_write_global_declarations()
/home/marek/src/gcc/gcc/cp/decl2.c:4131
More information about the Gcc-bugs
mailing list