diff options
author | Jeff Law <law@gcc.gnu.org> | 2018-05-23 16:33:36 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2018-05-23 16:33:36 -0600 |
commit | 2aece9c19970ad94abeeca4f85782f50799abdfc (patch) | |
tree | d012c1b4f1887cf875de320555ee7c20d52bdda6 /gcc/tree.c | |
parent | 54fd159056765b65191e7685673133f34786b76c (diff) | |
download | gcc-2aece9c19970ad94abeeca4f85782f50799abdfc.zip gcc-2aece9c19970ad94abeeca4f85782f50799abdfc.tar.gz gcc-2aece9c19970ad94abeeca4f85782f50799abdfc.tar.bz2 |
re PR target/78849 (ICE on initialization of global struct containing __int20 array at varasm.c:4968)
PR target/78849
* gcc/tree.c (build_common_tree_nodes): Dont set TYPE_SIZE for __intN
types.
PR target/78849
* gcc.target/msp430/msp430.exp: Remove -pedantic-errors from
DEFAULT_CFLAGS.
* gcc.target/msp430/pr78849.c: New test.
From-SVN: r260627
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -9785,8 +9785,6 @@ 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); - TYPE_SIZE (int_n_trees[i].signed_type) = bitsize_int (int_n_data[i].bitsize); - TYPE_SIZE (int_n_trees[i].unsigned_type) = bitsize_int (int_n_data[i].bitsize); if (int_n_data[i].bitsize > LONG_LONG_TYPE_SIZE && int_n_enabled_p[i]) |