This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello! We have to return Pmode RTX from legitimize_tls_address. There was a path that returned DImode, when SImode was expected. Since the code deals with various linker bugs, let's leave the generated sequence as-is and just convert it to Pmode before return. 2016-10-18 Uros Bizjak <ubizjak@gmail.com> PR target/77991 * config/i386/i386.c (legitimize_tls_address) <case TLS_MODEL_INITIAL_EXEC>: For TARGET_64BIT || TARGET_ANY_GNU_TLS convert dest to Pmode if different than Pmode. testsuite/ChangeLog: 2016-10-18 Uros Bizjak <ubizjak@gmail.com> PR target/77991 * gcc.target/i386/pr77991.c: New test. Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. Patch was committed to mainline SVN and will be backported to other release branches. Uros.
Attachment:
p.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |