aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorPaulo Matos <paulo@matos-sorge.com>2014-03-08 11:54:05 +0100
committerPaulo Matos <pmatos@gcc.gnu.org>2014-03-08 11:54:05 +0100
commitf42c637eb7775b2f2a564526f314143fdc156df1 (patch)
tree95ca8c693768f8d7457772293f48f82ccedfaea6 /gcc/lto
parent1c74dc2ad6a8cba31b324b7d14a633522d937af3 (diff)
downloadgcc-f42c637eb7775b2f2a564526f314143fdc156df1.zip
gcc-f42c637eb7775b2f2a564526f314143fdc156df1.tar.gz
gcc-f42c637eb7775b2f2a564526f314143fdc156df1.tar.bz2
lto-wrapper.c (merge_and_complain): Ensure -fshort-double is used consistently accross all TUs.
2014-03-08 Paulo Matos <paulo@matos-sorge.com> Richard Biener <rguenther@suse.de> * lto-wrapper.c (merge_and_complain): Ensure -fshort-double is used consistently accross all TUs. (run_gcc): Enable -fshort-double automatically at link at link-time and disallow override. 2014-03-08 Paulo Matos <paulo@matos-sorge.com> * c.opt: Enable LTO FE for fshort-double. 2014-03-08 Paulo Matos <paulo@matos-sorge.com> * gcc.dg/lto/pr55113_0.c: New testcase. 2014-03-08 Paulo Matos <paulo@matos-sorge.com> * lto-lang.c (lto_init): Pass flag_short_double to build_common_tree_nodes. Co-Authored-By: Richard Biener <rguenther@suse.de> From-SVN: r208428
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog5
-rw-r--r--gcc/lto/lto-lang.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 815d0c1..7a2940e 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-08 Paulo Matos <paulo@matos-sorge.com>
+
+ * lto-lang.c (lto_init): Pass flag_short_double to
+ build_common_tree_nodes.
+
2014-02-14 Jan Hubicka <hubicka@ucw.cz>
PR lto/60295
diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c
index 28eac6f..f92e884 100644
--- a/gcc/lto/lto-lang.c
+++ b/gcc/lto/lto-lang.c
@@ -1158,7 +1158,7 @@ lto_init (void)
flag_generate_lto = (flag_wpa != NULL);
/* Create the basic integer types. */
- build_common_tree_nodes (flag_signed_char, /*short_double=*/false);
+ build_common_tree_nodes (flag_signed_char, flag_short_double);
/* The global tree for the main identifier is filled in by
language-specific front-end initialization that is not run in the