https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729
Hongtao Liu changed:
What|Removed |Added
Keywords||missed-optimization
Resolution|--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729
--- Comment #6 from GCC Commits ---
The master branch has been updated by Kong Lingling :
https://gcc.gnu.org/g:edb2712936368e803fd67aa520323054b2a5c5e7
commit r15-2916-gedb2712936368e803fd67aa520323054b2a5c5e7
Author: Lingling Kong
Date: W
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729
--- Comment #5 from GCC Commits ---
The master branch has been updated by Kong Lingling :
https://gcc.gnu.org/g:d08a5f211135374b3ad700780c46a198cd320328
commit r15-2915-gd08a5f211135374b3ad700780c46a198cd320328
Author: Lingling Kong
Date: W
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729
--- Comment #3 from GCC Commits ---
The master branch has been updated by Kong Lingling :
https://gcc.gnu.org/g:a302cd6abbeccc93784b7ecc86f2e9106aa412ca
commit r15-2913-ga302cd6abbeccc93784b7ecc86f2e9106aa412ca
Author: Lingling Kong
Date: W
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729
--- Comment #4 from GCC Commits ---
The master branch has been updated by Kong Lingling :
https://gcc.gnu.org/g:1b761744dc3ea6f3d66a9c48f16719ad1c92d5ad
commit r15-2914-g1b761744dc3ea6f3d66a9c48f16719ad1c92d5ad
Author: Lingling Kong
Date: W
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729
--- Comment #2 from Hongtao Liu ---
extern unsigned char b;
int
foo (void)
{
return (unsigned char)(200 + b);
}
gcc -O2 -mapxf
foo():
subb $56, b(%rip), %al
movzbl %al, %eax
ret
And this can be optimzied to
foo():
subb $56, b(%ri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113729
Hongtao Liu changed:
What|Removed |Added
CC||liuhongt at gcc dot gnu.org
--- Comment #