Ping ?

http://gcc.gnu.org/ml/gcc-patches/2012-04/txt00094.txt

Adding Gabriel in Cc: in case this falls in the diagnostic category.

On Fri, 20 Apr 2012, Marc Glisse wrote:

Hello,

here is a patch that requires parentheses around the argument of sizeof.... I am not sure what variadic76.C tests, so I put 2 lines, with parentheses in different places.

bootstrapped and regression tested (make -k check, compared to an unpatched version).

Note that I can't commit.


gcc/cp/ChangeLog
2012-04-20  Marc Glisse  <marc.gli...@inria.fr>

        PR c++/51314
        * parser.c (cp_parser_sizeof_operand): Require parentheses for
        sizeof...


gcc/testsuite/ChangeLog
2012-04-20  Marc Glisse  <marc.gli...@inria.fr>

        PR c++/51314
        * g++.dg/cpp0x/vt-51314.C: New test.
        * g++.dg/cpp0x/variadic76.C: Fix.

--
Marc Glisse

Reply via email to