This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49853] [x32] PIC doesn't work with external symbol
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Jul 2011 18:04:01 +0000
- Subject: [Bug target/49853] [x32] PIC doesn't work with external symbol
- Auto-submitted: auto-generated
- References: <bug-49853-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49853
--- Comment #1 from uros at gcc dot gnu.org 2011-07-26 18:03:59 UTC ---
Author: uros
Date: Tue Jul 26 18:03:54 2011
New Revision: 176798
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176798
Log:
PR target/47369
PR target/49853
* config/i386/i386.c (ix86_expand_move): Call convert_to_mode
if legitimize_tls_address returned operand in wrong mode. Allow
SImode and DImode symbolic operand for PIC. Call convert_to_mode
if legitimize_pic_address returned operand in wrong mode.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c