http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54445

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-09-01 16:59:20 
UTC ---
I am testing this patch:

diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md
index c78384b..ee7ae49 100644
--- a/gcc/config/i386/predicates.md
+++ b/gcc/config/i386/predicates.md
@@ -228,8 +228,7 @@
         {
         case UNSPEC_DTPOFF:
         case UNSPEC_NTPOFF:
-          if (offset > 0
-              && trunc_int_for_mode (offset, SImode) == offset)
+          if (trunc_int_for_mode (offset, SImode) == offset)
             return true;
         }
           break;

Reply via email to