decl_constant_value_for_broken_optimization

Ian Lance Taylor iant@google.com
Wed Feb 27 15:26:00 GMT 2008


Paolo Bonzini <bonzini@gnu.org> writes:

> > In the current compiler, it seems very likely that every call to
> > decl_constant_value_for_broken_optimization can simply be removed.
> > The constant propagation passes should implement the optimization.
> 
> What about format checking for constant arrays? :-(  That's the
> testcase that Joseph wrote for the patch that introduced the function.

That uses decl_constant_value, not
decl_constant_value_for_broken_optimization.

Ian



More information about the Gcc mailing list