This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/44169] Wrong code while generating TLS offsets
- From: "amodra at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2010 03:09:05 -0000
- Subject: [Bug rtl-optimization/44169] Wrong code while generating TLS offsets
- References: <bug-44169-14399@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #18 from amodra at gcc dot gnu dot org 2010-06-03 03:09 -------
Subject: Bug 44169
Author: amodra
Date: Thu Jun 3 03:08:32 2010
New Revision: 160208
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160208
Log:
PR target/44169
* config/rs6000/rs6000.md (load_toc_v4_PIC_1b): Add label operand.
* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Pass label
rtx to gen_load_toc_v4_PIC_1b. Tidy.
(rs6000_emit_load_toc_table): Likewise.
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/config/rs6000/rs6000.c
branches/gcc-4_4-branch/gcc/config/rs6000/rs6000.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44169