On Mon, Dec 7, 2015 at 7:23 AM, Joseph Myers <jos...@codesourcery.com> wrote: > On Mon, 7 Dec 2015, Patrick Palka wrote: > >> To fix this inconsistency, this patch calls decl_constant_value in >> c_fully fold after folding the given expression. > > The aim should be to eliminate decl_constant_value use here once all > folding optimizations are also done on GIMPLE (and generally reduce the > amount of folding done in the front end), not to use it in more cases.
I see, that makes sense. For now I filed PR 68764 to track this particular issue. > > -- > Joseph S. Myers > jos...@codesourcery.com