diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-03-06 23:51:23 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-03-06 23:51:23 +0100 |
commit | edca997e57edcca3a671d645aedf06680342b8fd (patch) | |
tree | 90c13e448cfb7a5fcd3e6c6f4f33646a7b3603c2 /gcc/dwarf2out.h | |
parent | 5935a7c495162f3d03c13336492f2cc434339074 (diff) | |
download | gcc-edca997e57edcca3a671d645aedf06680342b8fd.tar.gz |
re PR c++/79821 (SEGV in cc1plus compiling 64-bit stdc++.h.gch/O2g.gch)
PR c++/79821
* dwarf2out.h (dw_vec_const): Change array type from unsigned char *
to void * for PCH reasons.
* dwarf2out.c (output_loc_operands, output_die): Cast
v.val_vec.array to unsigned char *.
From-SVN: r245932
Diffstat (limited to 'gcc/dwarf2out.h')
-rw-r--r-- | gcc/dwarf2out.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.h b/gcc/dwarf2out.h index 79dc4391753..940247316d3 100644 --- a/gcc/dwarf2out.h +++ b/gcc/dwarf2out.h @@ -163,7 +163,7 @@ enum dw_val_class /* Describe a floating point constant value, or a vector constant value. */ struct GTY(()) dw_vec_const { - unsigned char * GTY((atomic)) array; + void * GTY((atomic)) array; unsigned length; unsigned elt_size; }; |