This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/64663] [4.8/4.9/5 Regression] ICE at -O1 and above with -g enabled on x86_64-linux-gnu
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Jan 2015 18:30:30 +0000
- Subject: [Bug debug/64663] [4.8/4.9/5 Regression] ICE at -O1 and above with -g enabled on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-64663-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64663
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 20 18:29:58 2015
New Revision: 219906
URL: https://gcc.gnu.org/viewcvs?rev=219906&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/pr64663.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog