From: Bin Cheng Date: Fri, 8 Aug 2014 10:21:12 +0000 (+0000) Subject: re PR lto/62032 (FAIL: vsnprintf-chk.c execution, -O2 -flto -fno-use-linker-plugin... X-Git-Tag: releases/gcc-5.1.0~5583 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c581d613cc56bf1ca8752ad1b6f4575fe8cb492;p=thirdparty%2Fgcc.git re PR lto/62032 (FAIL: vsnprintf-chk.c execution, -O2 -flto -fno-use-linker-plugin -flto-partition=none) PR lto/62032 * lto/lto-lang.c (lto_init): Switch mis-matched arguments. From-SVN: r213755 --- diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 20f81b111207..f1af679498b3 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2014-08-08 Bin Cheng + + PR lto/62032 + * lto-lang.c (lto_init): Switch mis-matched arguments. + 2014-08-07 Trevor Saunders * lto-partition.c, lto.c: Use hash_map instead of pointer_map. diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c index 937b7e5753f8..b3b9ff7caf78 100644 --- a/gcc/lto/lto-lang.c +++ b/gcc/lto/lto-lang.c @@ -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 ();