Re: [cfe-users] package build fails at r324504 or later on VS2017

2018-02-16 Thread masaru tsuchiyama via cfe-users
> Is that a solution to your problem? No. It could be a workaround, but not a solution. I think we need to know the reason why the commit and the option affect the result at least. 2018-02-16 19:05 GMT+09:00 Hans Wennborg : > On Thu, Feb 15, 2018 at 11:43 PM, masaru tsuchiyama > wrote: > > H

Re: [cfe-users] package build fails at r324504 or later on VS2017

2018-02-16 Thread Hans Wennborg via cfe-users
On Thu, Feb 15, 2018 at 11:43 PM, masaru tsuchiyama wrote: > Hi, > >> Is there any info about what went wrong in NSISOutput.log? > > I attach the log. > > This is the last part of the log. > > File: "clangStaticAnalyzerCheckers.lib" > > Internal compiler error #12345: error mmapping file (210

[cfe-users] Constexpr prevents optimization?

2018-02-16 Thread Steffen Hirschmann via cfe-users
Dear all, I was just playing around with a toy example when I noticed an oddity in the code generated by clang-5.0.0 (and also in clang-5.0.1) regarding constexpr. Given the code: > int fib(int i) { if (i <= 0) return i; else return (fib(i - 1) + fib(i - 2)) > % 100; } > int main() > { > int