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 other/22631] ICE / ada / error in gimple_add_tmp_var, at gimplify.c:557


------- Additional Comments From pinskia at physics dot uc dot edu  2005-07-23 22:54 -------
Subject: Re:  ICE / ada / error in gimple_add_tmp_var, at gimplify.c:557

> 
> 
> ------- Additional Comments From pluto at agmk dot net  2005-07-23 22:45 -------
> detailed backtrace: 
>  
> (gdb) bt 
> #0  gimple_add_tmp_var (tmp=0x2aaaab3176e0) at ../../gcc/gimplify.c:557 
> #1  0x0000000000724261 in create_tmp_var (type=0x2aaaaaf93c60, prefix=0x0) #2  
> 0x000000000072496c in create_tmp_from_val (val=0x2aaaab303b40) 
> at ../../gcc/gimplify.c:429 
> #3  0x00000000007248ba in lookup_tmp_var (val=0x2aaaab303b40, is_formal=1 
> '\001') at ../../gcc/gimplify.c:458 
> #4  0x00000000007249ae in internal_get_tmp_var (val=0x2aaaab303b40, 
> pre_p=0x2aaaab30a0f0, post_p=0x0, 
>     is_formal=1 '\001') at ../../gcc/gimplify.c:493 
> #5  0x0000000000724c39 in get_formal_tmp_var (val=0x2aaaab303b40, 
> pre_p=0x2aaaab30a0f0) 
>     at ../../gcc/gimplify.c:519 
> #6  0x000000000073d29c in gimplify_expr (expr_p=0x2aaaab30c478, 
> pre_p=0x2aaaab30a0f0, post_p=0x7fffffecf8f0, 
>     gimple_test_f=0x722920 <is_gimple_reg>, fallback=fb_rvalue) 
> at ../../gcc/gimplify.c:4515 
> #7  0x000000000073ac04 in gimplify_expr (expr_p=0x2aaaab303bc8, 
> pre_p=0x2aaaab30a0f0, post_p=0x7fffffecf8f0, 
>     gimple_test_f=0x722e71 <is_gimple_min_lval>, fallback=fb_rvalue) 
> at ../../gcc/gimplify.c:4111 


The last time I ran into this is when gimplify_build_fold_addr_expr did not return
(DECL_EXPR <t>, &) but &(DECL_EXPR<t>, &t) which was my bug.

I wonder if something like that is happening again but I looked and saw 
gimplify_build_fold_addr_expr in the patch which I posted has it correct.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22631


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