constexpr.c
187 KB
-
PR c++/87567 - constexpr rejects call to non-constexpr function. · 8e9558f0
* constexpr.c (potential_constant_expression_1) <case FOR_STMT>: Return true if the condition is always false. <case WHILE_STMT>: Likewise. * g++.dg/cpp1y/constexpr-loop7.C: New test. From-SVN: r265027
Marek Polacek committed