This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling
- From: "dje at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 Jan 2013 15:41:24 +0000
- Subject: [Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling
- Auto-submitted: auto-generated
- References: <bug-55889-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889
--- Comment #18 from David Edelsohn <dje at gcc dot gnu.org> 2013-01-21 15:41:24 UTC ---
Probably something like
Index: rs6000.c
===================================================================
--- rs6000.c (revision 195319)
+++ rs6000.c (working copy)
@@ -5831,6 +5831,8 @@
/* Do not associate thread-local symbols with the original
constant pool symbol. */
if (TARGET_XCOFF
+ && GET_CODE (y) == SYMBOL_REF
+ && CONSTANT_POOL_ADDRESS_P (y)
&& SYMBOL_REF_TLS_MODEL (get_pool_constant (y)) >= TLS_MODEL_REAL)
return orig_x;
#endif