On Wed, 2 Dec 2015, Jason Merrill wrote: > > The new file needs copyright and license notices. > > So it does, thanks. > > > > The second patch defines fold_for_warn to call c_fully_fold and uses it in > > > places in the warn_* functions that want to know if the operand has a > > > constant > > > value. > > > > > > Joseph, are these changes OK for C? The extra folding isn't currently > > > necessary for C, should fold_for_warn check c_dialect_cxx()? > > > > I think it should check that, yes. > > Done. > > Are these OK?
These are OK for C, with the copyright dates on the new file copied from c-common.c rather than only 2015. -- Joseph S. Myers jos...@codesourcery.com