[Bug tree-optimization/94920] Failure to optimize abs pattern from arithmetic with selected operands based on comparisons with 0
paul.hua.gm at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 6 08:14:24 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94920
Paul Hua <paul.hua.gm at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paul.hua.gm at gmail dot com
--- Comment #5 from Paul Hua <paul.hua.gm at gmail dot com> ---
(In reply to CVS Commits from comment #3)
> The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
>
> https://gcc.gnu.org/g:0bc1566dec0cab9410723c96d2ef3280fdab8e8e
>
> commit r13-1854-g0bc1566dec0cab9410723c96d2ef3280fdab8e8e
> Author: Jakub Jelinek <jakub@redhat.com>
> Date: Wed Jul 27 12:02:12 2022 +0200
>
> testsuite: Add -Wno-psabi to pr94920 tests [PR94920]
>
> These tests fail on ia32, because we get -Wpsabi warnings.
> Fixed by adding -Wno-psabi. The pr94920.C test still fails the
> ABS_EXPR scan-tree-dump though, I think we'll need to add vect
> options and use vect_int effective target or something similar.
Yes, we should do. This also fails the ABS_EXPR scan-tree-dump on LoongArch.
>
> 2022-07-27 Jakub Jelinek <jakub@redhat.com>
>
> PR tree-optimization/94920
> * g++.dg/pr94920.C: Add -Wno-psabi to dg-options.
> * g++.dg/pr94920-1.C: Add dg-additional-options -Wno-psabi.
More information about the Gcc-bugs
mailing list