https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104373

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:50243f4918c2ed7f1ddbf0e8df97a37aee73ebf2

commit r12-7188-g50243f4918c2ed7f1ddbf0e8df97a37aee73ebf2
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Fri Feb 11 00:27:11 2022 +0100

    testsuite: Fix up g++.dg/warn/Wuninitialized-32.C test for ilp32 [PR104373]

    The testcase FAILs whenever size_t is not unsigned long:
    FAIL: g++.dg/warn/Wuninitialized-32.C  -std=c++98 (test for excess errors)
    Excess errors:
    .../gcc/testsuite/g++.dg/warn/Wuninitialized-32.C:4:7: error: 'operator
new' takes type 'size_t' ('unsigned int') as first parameter [-fpermissive]

    Fixed by using __SIZE_TYPE__ instead of unsigned long.

    2022-02-11  Jakub Jelinek  <ja...@redhat.com>

            PR tree-optimization/104373
            * g++.dg/warn/Wuninitialized-32.C (operator new[]): Use
__SIZE_TYPE__
            as type of the first argument instead of unsigned long.

Reply via email to