[Bug tree-optimization/104992] [missed optimization] x / y * y == x not optimized to x % y == 0

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 11 08:29:47 GMT 2022


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

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

https://gcc.gnu.org/g:8e69f2a6e91b7a01619dfd3b0788bfda4ad28941

commit r13-2018-g8e69f2a6e91b7a01619dfd3b0788bfda4ad28941
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu Aug 11 10:26:32 2022 +0200

    testsuite: Fix up pr104992* tests on i686-linux [PR104992]

    These 2 tests were FAILing on i686-linux or e.g. with
    --target_board=unix/-m32/-mno-sse on x86_64-linux due to
    -Wpsabi warnings and also because dg-options in the latter
    test has been ignored due to missing space, so even -O2
    wasn't passed at all.

    2022-08-11  Jakub Jelinek  <jakub@redhat.com>

            PR tree-optimization/104992
            * gcc.dg/pr104992.c: Add -Wno-psabi to dg-options.
            * g++.dg/pr104992-1.C: Likewise.  Add space between " and } in
            dg-options.


More information about the Gcc-bugs mailing list