https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |12.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353
Marek Polacek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353
--- Comment #7 from CVS Commits ---
The trunk branch has been updated by Marek Polacek :
https://gcc.gnu.org/g:1ba397e9f93d3abc93a6ecbabc3d873489a6fb7f
commit r12-8248-g1ba397e9f93d3abc93a6ecbabc3d873489a6fb7f
Author: Marek Polacek
Date: Fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353
--- Comment #6 from Marek Polacek ---
Good point, I suppose this is better:
--- a/gcc/cp/typeck.cc
+++ b/gcc/cp/typeck.cc
@@ -6315,7 +6315,9 @@ build_x_shufflevector (location_t loc, vec
*args,
if (processing_template_decl)
{
for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353
--- Comment #5 from Jakub Jelinek ---
Maybe, but for i <= 1 IMHO type_dependent_expression_p is right, that is why we
build_non_dependent_expr, c_build_shufflevector oesn't care about those exact
values.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353
--- Comment #4 from Marek Polacek ---
My fix is just
--- a/gcc/cp/typeck.cc
+++ b/gcc/cp/typeck.cc
@@ -6315,7 +6315,7 @@ build_x_shufflevector (location_t loc, vec
*args,
if (processing_template_decl)
{
for (unsigned i = 0; i < a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353
Marek Polacek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353
Andrew Pinski changed:
What|Removed |Added
Summary|__builtin_shufflevector |__builtin_shufflevector