]> gcc.gnu.org Git - gcc.git/commit
re PR c++/56930 (pointless -Wconversion warning with sizeof)
authorJason Merrill <jason@redhat.com>
Thu, 23 May 2013 03:47:35 +0000 (23:47 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 23 May 2013 03:47:35 +0000 (23:47 -0400)
commitda834cfcb0c8e59936cf3697b81b2693e5eb2ed0
treef559f205ee21dd8d310cbaaaf0b783b7b4d16527
parent2701664a0266af935d5fea7c5586a5686fe32365
re PR c++/56930 (pointless -Wconversion warning with sizeof)

PR c++/56930
* call.c (convert_like_real): Use cp_convert_and_check.
* cvt.c (cp_convert_and_check): Use maybe_constant_value.
* semantics.c (cxx_eval_constant_expression): Handle LTGT_EXPR.
(potential_constant_expression_1): Handle OMP_ATOMIC*.

From-SVN: r199232
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cvt.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/initlist71.C [new file with mode: 0644]
This page took 0.061678 seconds and 5 git commands to generate.