https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913
Jakub Jelinek changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913
--- Comment #6 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:ff33680165346cb291667f38dd2e9f25a74cc3c3
commit r11-193-gff33680165346cb291667f38dd2e9f25a74cc3c3
Author: Jakub Jelinek
Date: Fri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913
--- Comment #5 from CVS Commits ---
The master branch has been updated by Uros Bizjak :
https://gcc.gnu.org/g:7c2879301d3b027a1ba427a5d5c7557decb8a7ab
commit r11-145-g7c2879301d3b027a1ba427a5d5c7557decb8a7ab
Author: Uros Bizjak
Date: Wed May
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913
--- Comment #4 from Jakub Jelinek ---
Created attachment 48467
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48467&action=edit
gcc11-pr94913.patch
Untested fix for that part.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913
Uroš Bizjak changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913
--- Comment #2 from Uroš Bizjak ---
Created attachment 48458
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48458&action=edit
Prototype patch
Prototype patch for missed optimization, described in Comment #0.
Following testcase:
--cut her
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913
--- Comment #1 from Gabriel Ravier ---
The same thing happens for this code :
bool f(unsigned x, unsigned y)
{
return (x - y - 1) >= x;
}
LLVM outputs this :
f(unsigned int, unsigned int):
cmp esi, edi
setae al
ret
GCC outputs this