This is the mail archive of the gcc-patches@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]

Re: c++ abort 19990815


On Wed, Aug 18, 1999 at 12:05:57PM -0700, Richard Henderson wrote:
> I didn't track that, but probably fold --

Indeed:

 <truth_andif_expr 0x120510978
    type <boolean_type 0x120520c90 bool allocated from permanent_obstack
        unsigned permanent type_6 DI
        size <integer_cst 0x120519ff0 constant permanent 64>
        align 64 symtab 0 alias set 219 precision 1
        min <integer_cst 0x120520d48 constant permanent 0>
        max <integer_cst 0x120520da8 constant permanent 1>
	reference_to_this <reference_type 0x12070a040>>
    allocated from momentary_obstack
   
    arg 0 <gt_expr 0x120510898 type <boolean_type 0x120520c90 bool>
        allocated from momentary_obstack
       
        arg 0 <parm_decl 0x1208e4290 __old_sz
	    type <integer_type 0x1205410b0 size_t>
            allocated from permanent_obstack
            unsigned used permanent DI file ...
	    size <integer_cst 0x120519ff0 64>
            align 64 context <function_decl 0x120871830 reallocate>
	    initial <integer_type 0x1205410b0 size_t>
	    chain <parm_decl 0x1208e4348 __new_sz>>
        arg 1 <integer_cst 0x120510868 constant 128>>
    arg 1 <gt_expr 0x120510948 type <boolean_type 0x120520c90 bool>
        allocated from momentary_obstack
       
        arg 0 <parm_decl 0x1208e4348 __new_sz
	    type <integer_type 0x1205410b0 size_t>
            allocated from permanent_obstack
            unsigned used permanent DI file ...
	    size <integer_cst 0x120519ff0 64>
            align 64 context <function_decl 0x120871830 reallocate>
	    initial <integer_type 0x1205410b0 size_t>>
        arg 1 <integer_cst 0x120510918 constant 128>>>

gets folded here:

#0  0x12002acac in fold_truthop (code=TRUTH_AND_EXPR, truth_type=0x120520c90, 
    lhs=0x120510898, rhs=0x120510948) at ../../../egcs/gcc/fold-const.c:3756
#1  0x1200320b4 in fold (expr=0x120510978)
    at ../../../egcs/gcc/fold-const.c:5538
#2  0x12032c494 in build_binary_op_nodefault (code=TRUTH_ANDIF_EXPR, 
    orig_op0=0x120510898, orig_op1=0x120510948, error_code=TRUTH_ANDIF_EXPR)


r~


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