diff options
author | Michael Meissner <meissner@linux.vnet.ibm.com> | 2016-06-21 20:57:20 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2016-06-21 20:57:20 +0000 |
commit | 5cd0a74a915cbd63653a8332c2a54c13bb33fbf4 (patch) | |
tree | 41ee0d0c5c8d5d26bbfceeb26f4a7e72a26d8d10 /gcc/tree.c | |
parent | 63617e30150f174ffa325057327c16483715aa09 (diff) | |
download | gcc-5cd0a74a915cbd63653a8332c2a54c13bb33fbf4.zip gcc-5cd0a74a915cbd63653a8332c2a54c13bb33fbf4.tar.gz gcc-5cd0a74a915cbd63653a8332c2a54c13bb33fbf4.tar.bz2 |
stor-layout.c (layout_type): Move setting complex MODE to layout_type...
[gcc]
2016-06-21 Michael Meissner <meissner@linux.vnet.ibm.com>
* stor-layout.c (layout_type): Move setting complex MODE to
layout_type, instead of setting it ahead of time by the caller.
* tree.c (build_complex_type): Likewise.
[gcc/fortran]
2016-06-21 Michael Meissner <meissner@linux.vnet.ibm.com>
* trans-types.c (gfc_build_complex_type): Move setting complex
MODE to layout_type, instead of setting it ahead of time by the
caller.
From-SVN: r237657
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -8783,7 +8783,6 @@ build_complex_type (tree component_type) t = make_node (COMPLEX_TYPE); TREE_TYPE (t) = TYPE_MAIN_VARIANT (component_type); - SET_TYPE_MODE (t, GET_MODE_COMPLEX_MODE (TYPE_MODE (component_type))); /* If we already have such a type, use the old one. */ hstate.add_object (TYPE_HASH (component_type)); |