This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/63527] [5 Regression] -fPIC uses 2 registers for GOT
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Oct 2014 00:04:39 +0000
- Subject: [Bug target/63527] [5 Regression] -fPIC uses 2 registers for GOT
- Auto-submitted: auto-generated
- References: <bug-63527-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63527
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-10-14
Summary|[5 Regression] -fPIC |[5 Regression] -fPIC uses 2
|generates more instructions |registers for GOT
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
GCC uses 2 registers for GOT access, instead of one. One register
is allocated by LRA and EBX is used by ix86_expand_call.