aboutsummaryrefslogtreecommitdiff
path: root/gcc/read-rtl-function.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2018-10-10 21:11:18 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2018-10-10 21:11:18 +0000
commit8e9558f029123e00008d3ef464922128d018f0fc (patch)
treefa1f1f4d7da86e9609be996a72bfb7854cd04aac /gcc/read-rtl-function.c
parentc6e8b0b3af4a2f1db9d1b13f54280c5401c53e4c (diff)
downloadgcc-8e9558f029123e00008d3ef464922128d018f0fc.zip
gcc-8e9558f029123e00008d3ef464922128d018f0fc.tar.gz
gcc-8e9558f029123e00008d3ef464922128d018f0fc.tar.bz2
PR c++/87567 - constexpr rejects call to non-constexpr function.
* 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
Diffstat (limited to 'gcc/read-rtl-function.c')
0 files changed, 0 insertions, 0 deletions