This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/64663] [4.8/4.9/5 Regression] ICE at -O1 and above with -g enabled on x86_64-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]