aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto/lto-lang.c
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@arm.com>2014-08-08 10:21:12 +0000
committerBin Cheng <amker@gcc.gnu.org>2014-08-08 10:21:12 +0000
commit7c581d613cc56bf1ca8752ad1b6f4575fe8cb492 (patch)
tree1d32046c7d44406999ba45d9b58f5e8a269cc0ce /gcc/lto/lto-lang.c
parentfef5a0d95e0e593ace4be86a8aa27ebdaa92c078 (diff)
downloadgcc-7c581d613cc56bf1ca8752ad1b6f4575fe8cb492.zip
gcc-7c581d613cc56bf1ca8752ad1b6f4575fe8cb492.tar.gz
gcc-7c581d613cc56bf1ca8752ad1b6f4575fe8cb492.tar.bz2
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
Diffstat (limited to 'gcc/lto/lto-lang.c')
-rw-r--r--gcc/lto/lto-lang.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c
index 937b7e5..b3b9ff7 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 ();