diff options
author | amker <amker@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-08 10:21:12 +0000 |
---|---|---|
committer | amker <amker@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-08 10:21:12 +0000 |
commit | fc8393b7f7b5964f0c9631d84ae1b22909a8a928 (patch) | |
tree | 1d32046c7d44406999ba45d9b58f5e8a269cc0ce /gcc/lto | |
parent | b9ea678c30842c814d5f071cda0a7668d86ec330 (diff) | |
download | gcc-fc8393b7f7b5964f0c9631d84ae1b22909a8a928.tar.gz |
PR lto/62032
* lto/lto-lang.c (lto_init): Switch mis-matched arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213755 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto')
-rw-r--r-- | gcc/lto/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/lto/lto-lang.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 20f81b11120..f1af679498b 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -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. diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c index 937b7e5753f..b3b9ff7caf7 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 (); |