Skip to content
Snippets Groups Projects
  • Jakub Jelinek's avatar
    848be094
    re PR debug/54828 (ICE in based_loc_descr at dwarf2out.c:10560 with -g -O0) · 848be094
    Jakub Jelinek authored
    	PR debug/54828
    	* gimple.h (is_gimple_sizepos): New inline function.
    	* gimplify.c (gimplify_one_sizepos): Use it.  Remove useless
    	final assignment to expr variable.
    	* tree.c (RETURN_TRUE_IF_VAR): Return true also if
    	!TYPE_SIZES_GIMPLIFIED (type) and _t is going to be gimplified
    	into a local temporary.
    
    	* g++.dg/debug/pr54828.C: New test.
    
    From-SVN: r192759
    848be094
    History
    re PR debug/54828 (ICE in based_loc_descr at dwarf2out.c:10560 with -g -O0)
    Jakub Jelinek authored
    	PR debug/54828
    	* gimple.h (is_gimple_sizepos): New inline function.
    	* gimplify.c (gimplify_one_sizepos): Use it.  Remove useless
    	final assignment to expr variable.
    	* tree.c (RETURN_TRUE_IF_VAR): Return true also if
    	!TYPE_SIZES_GIMPLIFIED (type) and _t is going to be gimplified
    	into a local temporary.
    
    	* g++.dg/debug/pr54828.C: New test.
    
    From-SVN: r192759