diff options
author | Marek Polacek <polacek@redhat.com> | 2015-04-02 16:51:27 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-04-02 16:51:27 +0000 |
commit | 894bec688558a3f8d9a5398df66adb4d45f6fa26 (patch) | |
tree | 2c4f955abf98010c78d3a09f5436b8018d6dbdfd /gcc/ipa-inline-transform.c | |
parent | 37978db4a756f65b2e787837b273f773ec4aeae7 (diff) | |
download | gcc-894bec688558a3f8d9a5398df66adb4d45f6fa26.zip gcc-894bec688558a3f8d9a5398df66adb4d45f6fa26.tar.gz gcc-894bec688558a3f8d9a5398df66adb4d45f6fa26.tar.bz2 |
re PR c++/65642 ([C++11] GCC rejects valid constant expression)
PR c++/65642
* constexpr.c (cxx_eval_pointer_plus_expression): Call
cxx_eval_constant_expression on the first operand.
* g++.dg/cpp0x/constexpr-fold1.C: New test.
* g++.dg/cpp0x/constexpr-fold2.C: New test.
From-SVN: r221843
Diffstat (limited to 'gcc/ipa-inline-transform.c')
0 files changed, 0 insertions, 0 deletions