re PR middle-end/51351 (undefined reference to __sync_fetch_and_ior_4)
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 4 Dec 2011 11:15:26 +0000 (11:15 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 4 Dec 2011 11:15:26 +0000 (11:15 +0000)
gcc/
PR middle-end/51351
* optabs.c (init_sync_libfuncs): Use "or" rather than "ior"
in the external names.

From-SVN: r181985

gcc/ChangeLog
gcc/optabs.c

index 9493159e2dedd00d016a37e5d6e14b392e0ffbfb..791a5c8936a81afe275b16847fa09b6ed783a1fd 100644 (file)
@@ -1,3 +1,9 @@
+2011-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       PR middle-end/51351
+       * optabs.c (init_sync_libfuncs): Use "or" rather than "ior"
+       in the external names.
+
 2011-12-03  Jack Howarth <howarth@bromo.med.uc.edu>
 
        * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC):
index c3f81dfe2d22f5613caf9b62af052db3b9447b7b..4f5340e589eb8cee158c4d14b3877d84b43b671e 100644 (file)
@@ -6624,14 +6624,14 @@ init_sync_libfuncs (int max)
 
   init_sync_libfuncs_1 (sync_old_add_optab, "__sync_fetch_and_add", max);
   init_sync_libfuncs_1 (sync_old_sub_optab, "__sync_fetch_and_sub", max);
-  init_sync_libfuncs_1 (sync_old_ior_optab, "__sync_fetch_and_ior", max);
+  init_sync_libfuncs_1 (sync_old_ior_optab, "__sync_fetch_and_or", max);
   init_sync_libfuncs_1 (sync_old_and_optab, "__sync_fetch_and_and", max);
   init_sync_libfuncs_1 (sync_old_xor_optab, "__sync_fetch_and_xor", max);
   init_sync_libfuncs_1 (sync_old_nand_optab, "__sync_fetch_and_nand", max);
 
   init_sync_libfuncs_1 (sync_new_add_optab, "__sync_add_and_fetch", max);
   init_sync_libfuncs_1 (sync_new_sub_optab, "__sync_sub_and_fetch", max);
-  init_sync_libfuncs_1 (sync_new_ior_optab, "__sync_ior_and_fetch", max);
+  init_sync_libfuncs_1 (sync_new_ior_optab, "__sync_or_and_fetch", max);
   init_sync_libfuncs_1 (sync_new_and_optab, "__sync_and_and_fetch", max);
   init_sync_libfuncs_1 (sync_new_xor_optab, "__sync_xor_and_fetch", max);
   init_sync_libfuncs_1 (sync_new_nand_optab, "__sync_nand_and_fetch", max);