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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Martin Jambor
<jamb...@gcc.gnu.org>:

https://gcc.gnu.org/g:c827f46d8652d7a089e614302a4cffb6b192284d

commit r13-8785-gc827f46d8652d7a089e614302a4cffb6b192284d
Author: Kewen Lin <li...@linux.ibm.com>
Date:   Wed Apr 10 02:59:43 2024 -0500

    testsuite: Adjust pr113359-2_*.c with unsigned long long [PR114662]

    pr113359-2_*.c define a struct having unsigned long type
    members ay and az which have 4 bytes size at -m32, while
    the related constants CL1 and CL2 used for equality check
    are always 8 bytes, it makes compiler consider the below

      69   if (a.ay != CL1)
      70     __builtin_abort ();

    always to abort and optimize away the following call to
    getb, which leads to the expected wpa dumping on
    "Semantic equality" missing.

    This patch is to modify the types with unsigned long long
    accordingly.

            PR testsuite/114662

    gcc/testsuite/ChangeLog:

            * gcc.dg/lto/pr113359-2_0.c: Use unsigned long long instead of
            unsigned long.
            * gcc.dg/lto/pr113359-2_1.c: Likewise.

    (cherry picked from commit 4923ed49b93352bcf9e43cafac38345e4a54c3f8)

Reply via email to