microblaze.c (microblaze_classify_unspec): Fix cast syntax.
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 24 Aug 2015 11:12:32 +0000 (11:12 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 24 Aug 2015 11:12:32 +0000 (11:12 +0000)
gcc/
* config/microblaze/microblaze.c (microblaze_classify_unspec): Fix
cast syntax.

From-SVN: r227120

gcc/ChangeLog
gcc/config/microblaze/microblaze.c

index b1a7f9cfbe663bcf514dfc40df0a6c883510d95e..06dd8c8feb4ade45ace18ac7dd738d4cef7b2d37 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-24  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * config/microblaze/microblaze.c (microblaze_classify_unspec): Fix
+       cast syntax.
+
 2015-08-24  Andrew Pinski  <apinski@cavium.com>
 
        * config/aarch64/aarch64-tuning-flags.def: Remove all index to
index 40a659a8d7b0645bde9fb5e49a7a0751d2575373..6e7745ad13775985a8a0e773b86f327b3ee40fa5 100644 (file)
@@ -661,7 +661,7 @@ microblaze_classify_unspec (struct microblaze_address_info *info, rtx x)
   else if (XINT (x, 1) == UNSPEC_TLS)
     {
       info->type = ADDRESS_TLS;
-      info->tls_type = tls_reloc INTVAL(XVECEXP(x, 0, 1));
+      info->tls_type = tls_reloc (INTVAL (XVECEXP (x, 0, 1)));
     }
   else
     {