[Bug target/86662] msp430-elf segfault with -flto and -mlarge
jozef.l at mittosystems dot com
gcc-bugzilla@gcc.gnu.org
Tue Jul 24 22:49:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86662
--- Comment #1 from Jozef Lawrynowicz <jozef.l at mittosystems dot com> ---
Untested patch
diff --git a/gcc/tree.c b/gcc/tree.c
index bace9c8..54384ad 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -9802,8 +9802,7 @@ build_common_tree_nodes (bool signed_char)
int_n_trees[i].signed_type = make_signed_type (int_n_data[i].bitsize);
int_n_trees[i].unsigned_type = make_unsigned_type
(int_n_data[i].bitsize);
- if (int_n_data[i].bitsize > LONG_LONG_TYPE_SIZE
- && int_n_enabled_p[i])
+ if (int_n_enabled_p[i])
{
integer_types[itk_intN_0 + i * 2] = int_n_trees[i].signed_type;
integer_types[itk_unsigned_intN_0 + i * 2] =
int_n_trees[i].unsigned_type;
More information about the Gcc-bugs
mailing list