This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50691] Incorrect argument evaluation in call with __thread argument
- From: "danglin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 29 Oct 2011 20:19:46 +0000
- Subject: [Bug target/50691] Incorrect argument evaluation in call with __thread argument
- Auto-submitted: auto-generated
- References: <bug-50691-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50691
--- Comment #7 from John David Anglin <danglin at gcc dot gnu.org> 2011-10-29 20:19:46 UTC ---
Author: danglin
Date: Sat Oct 29 20:19:38 2011
New Revision: 180662
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180662
Log:
PR target/50691
* config/pa/pa.c (emit_move_sequence): Legitimize TLS symbol references.
* config/pa/pa.h (LEGITIMATE_CONSTANT_P): Return false for
TLS_MODEL_GLOBAL_DYNAMIC and TLS_MODEL_LOCAL_DYNAMIC symbol references.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/pa/pa.c
branches/gcc-4_6-branch/gcc/config/pa/pa.h