[Bug c++/105353] __builtin_shufflevector with value dependent constant

2022-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/105353] __builtin_shufflevector with value dependent constant

2022-04-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/105353] __builtin_shufflevector with value dependent constant

2022-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/105353] __builtin_shufflevector with value dependent constant

2022-04-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/105353] __builtin_shufflevector with value dependent constant

2022-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
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.

[Bug c++/105353] __builtin_shufflevector with value dependent constant

2022-04-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/105353] __builtin_shufflevector with value dependent constant

2022-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/105353] __builtin_shufflevector with value dependent constant

2022-04-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/105353] __builtin_shufflevector with value dependent constant

2022-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105353 Andrew Pinski changed: What|Removed |Added Summary|__builtin_shufflevector |__builtin_shufflevector