[PATCH] Fix up dwarf2out ICE (PR debug/64663)

Richard Henderson rth@redhat.com
Tue Jan 20 19:57:00 GMT 2015


On 01/20/2015 03:30 AM, Jakub Jelinek wrote:
> 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR debug/64663
> 	* dwarf2out.c (decl_piece_node): Don't put bitsize into
> 	mode if bitsize <= 0.
> 	(decl_piece_bitsize, adjust_piece_list, add_var_loc_to_decl,
> 	dw_sra_loc_expr): Use HOST_WIDE_INT instead of int for bit
> 	sizes and positions.
> 
> 	* gcc.dg/pr64663.c: New test.

Ok.


r~



More information about the Gcc-patches mailing list