]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR lto/62032 (FAIL: vsnprintf-chk.c execution, -O2 -flto -fno-use-linker-plugin...
authorBin Cheng <bin.cheng@arm.com>
Fri, 8 Aug 2014 10:21:12 +0000 (10:21 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Fri, 8 Aug 2014 10:21:12 +0000 (10:21 +0000)
PR lto/62032
* lto/lto-lang.c (lto_init): Switch mis-matched arguments.

From-SVN: r213755

gcc/lto/ChangeLog
gcc/lto/lto-lang.c

index 20f81b111207dd713d6abc1b60fcc234875e975b..f1af679498b3df91aa29a9678ab2e8d20f49e0a5 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-08  Bin Cheng  <bin.cheng@arm.com>
+
+       PR lto/62032
+       * lto-lang.c (lto_init): Switch mis-matched arguments.
+
 2014-08-07  Trevor Saunders  <tsaunders@mozilla.com>
 
        * lto-partition.c, lto.c: Use hash_map instead of pointer_map.
index 937b7e5753f825d93434eebb5ecc5cd6a8336e3c..b3b9ff7caf78ebec7d2ba3adae08ed0cc3746566 100644 (file)
@@ -1192,10 +1192,10 @@ lto_init (void)
     }
   else
     {
-      lto_define_builtins (va_list_type_node,
-                          build_reference_type (va_list_type_node));
+      lto_define_builtins (build_reference_type (va_list_type_node),
+                          va_list_type_node);
     }
-  
+
   if (flag_cilkplus)
     cilk_init_builtins ();