[Bug target/118678] Dubious optimization when compiling with -fpie -Os

2025-01-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118678 --- Comment #5 from Andrew Pinski --- Also code size != relocation size.

[Bug target/118678] Dubious optimization when compiling with -fpie -Os

2025-01-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118678 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > `rep movsl` is smaller than `rep movsq`. because movsq requires an extra prefix. So this is definitely smaller.

[Bug target/118678] Dubious optimization when compiling with -fpie -Os

2025-01-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118678 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/118678] Dubious optimization when compiling with -fpie -Os

2025-01-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118678 --- Comment #2 from Andrew Pinski --- Selected stringop expansion strategy: rep_4byte ;; args = *.LC10;

[Bug target/118678] Dubious optimization when compiling with -fpie -Os

2025-01-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118678 Andrew Pinski changed: What|Removed |Added Component|middle-end |target --- Comment #1 from Andrew Pinsk