https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96685
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |11.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96685
Andrew Pinski changed:
What|Removed |Added
CC||pinskia at gcc dot gnu.org
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96685
Jakub Jelinek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96685
--- Comment #7 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:0bd675183d94e6bca100c3aaaf87ee9676fb3c26
commit r11-5958-g0bd675183d94e6bca100c3aaaf87ee9676fb3c26
Author: Jakub Jelinek
Date: Sa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96685
--- Comment #6 from Jakub Jelinek ---
Created attachment 49745
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49745&action=edit
gcc11-pr96685.patch
Updated patch.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96685
--- Comment #5 from Jakub Jelinek ---
Ok, so for GENERIC it seems to be the associate: in fold_binary_loc that
converts
~x + y created by this patch into (y - x) + 1, and we don't have an equivalent
for that in GIMPLE.
So, shall I restrict this
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96685
--- Comment #4 from Jakub Jelinek ---
Though, there is some canonicalization problem GENERIC vs. GIMPLE:
unsigned
f1 (unsigned x, unsigned y)
{
unsigned int r = (x - y);
return ~r;
}
unsigned
f2 (unsigned x, unsigned y)
{
unsigned int r =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96685
--- Comment #3 from Jakub Jelinek ---
Created attachment 49742
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49742&action=edit
gcc11-pr96685.patch
Untested fix.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96685
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96685
Richard Biener changed:
What|Removed |Added
Ever confirmed|0 |1
Target|
10 matches
Mail list logo