[Bug target/60480] gcc 4.8.2 fails to do optimization on global register variables when compiling on x86_64 Linux.

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60480 Andrew Pinski changed: What|Removed |Added Known to work||7.1.0 Target Milestone|---

[Bug target/60480] gcc 4.8.2 fails to do optimization on global register variables when compiling on x86_64 Linux.

2014-03-10 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60480 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- This is due to x86 being a small register class target.

[Bug target/60480] gcc 4.8.2 fails to do optimization on global register variables when compiling on x86_64 Linux.

2014-03-10 Thread ganboing at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60480 --- Comment #2 from ganboing at gmail dot com --- (In reply to Andrew Pinski from comment #1) This is due to x86 being a small register class target. The thing is that x86_64 has 16 GPRs, and register r12-r15 are preserved across function calls