Re: -Os seems to remove a variable necessary for my transformation

2012-05-03 Thread Richard Guenther
On Thu, May 3, 2012 at 3:30 PM, Matt Davis wrote: > I have been fighting with a simple problem for the past few nights.  In my > GIMPLE pass I create a variable, an ssa name for that variable, and then > assign > it to the LHS of a call I build: > >  call = gimple_build_call(fndecl, 0); >  decl =

-Os seems to remove a variable necessary for my transformation

2012-05-03 Thread Matt Davis
I have been fighting with a simple problem for the past few nights. In my GIMPLE pass I create a variable, an ssa name for that variable, and then assign it to the LHS of a call I build: call = gimple_build_call(fndecl, 0); decl = create_tmp_var(TREE_TYPE(TREE_TYPE(test_decode_fndecl)), "FOO"