[Bug tree-optimization/116120] [15 regression] Wrong code for (a ? x : y) != (b ? x : y) since r15-2106-g44fcc1ca11e7ea35dc9fb25a5317346bc1eaf7b2

2024-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116120 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/116120] [15 regression] Wrong code for (a ? x : y) != (b ? x : y) since r15-2106-g44fcc1ca11e7ea35dc9fb25a5317346bc1eaf7b2

2024-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116120 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:c5ccdfdcab0b24afba2a661af861bec1d63f0595 commit r15-2637-gc5ccdfdcab0b24afba2a661af861bec1d63f0595 Author: Andrew Pinski Date: Mo

[Bug tree-optimization/116120] [15 regression] Wrong code for (a ? x : y) != (b ? x : y) since r15-2106-g44fcc1ca11e7ea35dc9fb25a5317346bc1eaf7b2

2024-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116120 --- Comment #3 from Andrew Pinski --- Testing a fix, should be submitted later today.

[Bug tree-optimization/116120] [15 regression] Wrong code for (a ? x : y) != (b ? x : y) since r15-2106-g44fcc1ca11e7ea35dc9fb25a5317346bc1eaf7b2

2024-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116120 --- Comment #2 from Andrew Pinski --- That is: ``` v4si f3(v4si a, v4si b, v4si c, v4si d, v4si e, v4si f) { v4si X = a == b; v4si Y = c == d; return ((X^Y) & (e != f)) ? {-1,...} : {0}; } ``` is what we should produce. Note this is still

[Bug tree-optimization/116120] [15 regression] Wrong code for (a ? x : y) != (b ? x : y) since r15-2106-g44fcc1ca11e7ea35dc9fb25a5317346bc1eaf7b2

2024-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116120 --- Comment #1 from Andrew Pinski --- testcase that shows the issue: ``` typedef int v4si __attribute((__vector_size__(1 * sizeof(int; v4si f1(v4si a, v4si b, v4si c, v4si d, v4si e, v4si f) { v4si X = a == b ? e : f; v4si Y = c == d ? e

[Bug tree-optimization/116120] [15 regression] Wrong code for (a ? x : y) != (b ? x : y) since r15-2106-g44fcc1ca11e7ea35dc9fb25a5317346bc1eaf7b2

2024-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116120 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/116120] [15 regression] Wrong code for (a ? x : y) != (b ? x : y)

2024-07-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116120 Sam James changed: What|Removed |Added Keywords||wrong-code Summary|Wrong code fo