optabs.c (init_intraclass_conv_libfuncs): Fix order of array indicees for floating...
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 7 Oct 2003 16:07:28 +0000 (16:07 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Tue, 7 Oct 2003 16:07:28 +0000 (16:07 +0000)
* optabs.c (init_intraclass_conv_libfuncs): Fix order of array
indicees for floating-point conversersion libcalls.

From-SVN: r72193

gcc/ChangeLog
gcc/optabs.c

index bfd7f69cb61203df351ee648e6e6d784b3668e42..77ba3dc949957d1358251738fb65c338f5966454 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-07  Richard Earnshaw  <rearnsha@arm.com>
+
+       * optabs.c (init_intraclass_conv_libfuncs): Fix order of array
+       indicees for floating-point conversersion libcalls.
+
 2003-10-07  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * Makefile.in: Add more comments separating large conceptually
index 3733d63799b9b9466f89743eade4febdfa3ed94b..2f1fa4e91332c1596e75f7f5ea73156f0269224d 100644 (file)
@@ -5128,8 +5128,8 @@ init_intraclass_conv_libfuncs (convert_optab tab, const char *opname,
        *p++ = '2';
        *p = '\0';
 
-       tab->handlers[widening ? nmode : wmode]
-                    [widening ? wmode : nmode].libfunc
+       tab->handlers[widening ? wmode : nmode]
+                    [widening ? nmode : wmode].libfunc
          = init_one_libfunc (ggc_alloc_string (libfunc_name,
                                                p - libfunc_name));
       }