Re: Small C++ tweak to fold_simple

2018-01-19 Thread Jason Merrill
On Fri, Jan 19, 2018 at 8:28 AM, Marek Polacek wrote: > fold_simple struck me as odd, certainly the NULL_TREE assignment is > unnecessary, so this patch simplifies it a bit. OK. > I've been confused about the commentary too, what is the difference between > "constant-expressions" and "constexpre

Small C++ tweak to fold_simple

2018-01-19 Thread Marek Polacek
fold_simple struck me as odd, certainly the NULL_TREE assignment is unnecessary, so this patch simplifies it a bit. I've been confused about the commentary too, what is the difference between "constant-expressions" and "constexpressions"? We should clarify that. Bootstrapped/regtested on x86_64-