Re: [C++ PATCH] Fix ICEs with #pragma GCC ivdep (PR c++/79379)

2017-02-06 Thread Jason Merrill
OK. On Mon, Feb 6, 2017 at 2:30 PM, Jakub Jelinek wrote: > Hi! > > #pragma GCC ivdep can make it through into potential_constant_expression_1 > as the following testcase shows. As it is just a hint to the compiler, > I think it isn't needed to make loops with that pragma non-constexpr, so > the

[C++ PATCH] Fix ICEs with #pragma GCC ivdep (PR c++/79379)

2017-02-06 Thread Jakub Jelinek
Hi! #pragma GCC ivdep can make it through into potential_constant_expression_1 as the following testcase shows. As it is just a hint to the compiler, I think it isn't needed to make loops with that pragma non-constexpr, so the patch just ignores the hint for determination of what is a potential c