[Bug target/63538] [X86_64] With -mcmodel=medium .lrodata accesses do not use 64-bit addresses
uros at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 5 22:23:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63538
--- Comment #3 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Nov 5 22:23:05 2014
New Revision: 217160
URL: https://gcc.gnu.org/viewcvs?rev=217160&root=gcc&view=rev
Log:
PR target/63538
* config/i386/i386.c (in_large_data_p): Reject automatic variables.
(ix86_encode_section_info): Do not check for non-automatic varibles
when setting SYMBOL_FLAG_FAR_ADDR flag.
(x86_64_elf_select_section): Do not check ix86_cmodel here.
(x86_64_elf_unique_section): Ditto.
(x86_elf_aligned_common): Emit tab before .largecomm.
testsuite/ChangeLog:
PR target/63538
* gcc.target/i386/pr63538.c: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/pr63538.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/config/i386/i386.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list