https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108418
Bug ID: 108418
Summary: gcc does not optimize trivial code
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimiza
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108418
--- Comment #1 from Коренберг Марк ---
Sorry, but such kind of code happens as a result of C-code automatic
generation.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107767
Bug ID: 107767
Summary: GCC has some problems in optimizer of trivial case
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Componen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107767
--- Comment #1 from Коренберг Марк ---
See assembler output for firewall2(). It's not -Os optimized (compare to
firewall(), which is ok)
```
firewall:
movw64(%rdi), %ax
cmpb$17, (%rdi)
sete%cl
leal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107767
--- Comment #3 from Коренберг Марк ---
I forgot to add. gcc 12.2 - everything is OK. gcc 13 - with bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107767
--- Comment #5 from Коренберг Марк ---
Not only -s problem. I think -O3 in gcc 12.2 will run faster than -O3 in gcc 13
(for this case). this code should not be treated as if-else-if-else-if. gcc 12
does its job right.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107767
--- Comment #8 from Коренберг Марк ---
Okay, but why switch-case is not handled using fast implementation using masks
(when difference between smallest and biggest integer <=64 ?
See the first function in my first message where it works as expe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108215
Bug ID: 108215
Summary: Does not optimize trivial case with bit operations
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Componen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111577
Bug ID: 111577
Summary: -Os gives significantly bigger code than -O0
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116518
Bug ID: 116518
Summary: GCC does not optimize-out useless operations. Clang
does.
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Pri
10 matches
Mail list logo