aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-inline-transform.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2015-04-02 16:51:27 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2015-04-02 16:51:27 +0000
commit894bec688558a3f8d9a5398df66adb4d45f6fa26 (patch)
tree2c4f955abf98010c78d3a09f5436b8018d6dbdfd /gcc/ipa-inline-transform.c
parent37978db4a756f65b2e787837b273f773ec4aeae7 (diff)
downloadgcc-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