public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/93674] [8/9/10 Regression] GCC eliminates conditions it should not, when strict-enums is on
       [not found] <bug-93674-4@http.gcc.gnu.org/bugzilla/>
@ 2020-04-09  8:43 ` cvs-commit at gcc dot gnu.org
  2020-04-18 17:05 ` law at redhat dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-04-09  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Bin Cheng <amker@gcc.gnu.org>:

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

commit r10-7650-ged80b385418f97ef087f3f2bbe1abecffb5c9775
Author: Bin Cheng <bin.cheng@linux.alibaba.com>
Date:   Thu Apr 9 16:42:48 2020 +0800

    Add unsigned type iv_cand for iv_use with non mode-precision type

    Precisely,  for iv_use if it's not integer/pointer type, or non-mode
    precision type, add candidate for the corresponding scev in unsigned
    type with the same precision, rather than its original type.

    gcc/
        PR tree-optimization/93674
        * tree-ssa-loop-ivopts.c (langhooks.h): New include.
        (add_iv_candidate_for_use): For iv_use of non integer or pointer type,
        or non-mode precision type, add candidate in unsigned type with the
        same precision.

    gcc/testsuite/
        PR tree-optimization/93674
        * g++.dg/pr93674.C: New test.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/93674] [8/9/10 Regression] GCC eliminates conditions it should not, when strict-enums is on
       [not found] <bug-93674-4@http.gcc.gnu.org/bugzilla/>
  2020-04-09  8:43 ` [Bug tree-optimization/93674] [8/9/10 Regression] GCC eliminates conditions it should not, when strict-enums is on cvs-commit at gcc dot gnu.org
@ 2020-04-18 17:05 ` law at redhat dot com
  2020-04-20  9:30 ` [Bug tree-optimization/93674] [8/9 " rearnsha at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: law at redhat dot com @ 2020-04-18 17:05 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Jeffrey A. Law <law at redhat dot com> ---
Should be fixed by the commit referenced in c#15.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/93674] [8/9 Regression] GCC eliminates conditions it should not, when strict-enums is on
       [not found] <bug-93674-4@http.gcc.gnu.org/bugzilla/>
  2020-04-09  8:43 ` [Bug tree-optimization/93674] [8/9/10 Regression] GCC eliminates conditions it should not, when strict-enums is on cvs-commit at gcc dot gnu.org
  2020-04-18 17:05 ` law at redhat dot com
@ 2020-04-20  9:30 ` rearnsha at gcc dot gnu.org
  2020-04-20 11:17 ` amker at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2020-04-20  9:30 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
            Summary|[8/9/10 Regression] GCC     |[8/9 Regression] GCC
                   |eliminates conditions it    |eliminates conditions it
                   |should not, when            |should not, when
                   |strict-enums is on          |strict-enums is on
             Status|RESOLVED                    |REOPENED

--- Comment #17 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Has not been backported yet.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/93674] [8/9 Regression] GCC eliminates conditions it should not, when strict-enums is on
       [not found] <bug-93674-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-04-20  9:30 ` [Bug tree-optimization/93674] [8/9 " rearnsha at gcc dot gnu.org
@ 2020-04-20 11:17 ` amker at gcc dot gnu.org
  2020-05-04  6:43 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: amker at gcc dot gnu.org @ 2020-04-20 11:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #18 from bin cheng <amker at gcc dot gnu.org> ---
(In reply to Richard Earnshaw from comment #17)
> Has not been backported yet.

Will do it.  Thanks

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/93674] [8/9 Regression] GCC eliminates conditions it should not, when strict-enums is on
       [not found] <bug-93674-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2020-04-20 11:17 ` amker at gcc dot gnu.org
@ 2020-05-04  6:43 ` cvs-commit at gcc dot gnu.org
  2020-05-04  8:58 ` cvs-commit at gcc dot gnu.org
  2020-05-04 14:54 ` rearnsha at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-04  6:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #19 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Bin Cheng <amker@gcc.gnu.org>:

https://gcc.gnu.org/g:28d68fde77363520d64b2a7ea480040cf7cb004d

commit r9-8561-g28d68fde77363520d64b2a7ea480040cf7cb004d
Author: Bin Cheng <bin.cheng@linux.alibaba.com>
Date:   Mon May 4 14:28:54 2020 +0800

    Add unsigned type iv_cand for iv_use with non mode-precision type

    Precisely,  for iv_use if it's not integer/pointer type, or non-mode
    precision type, add candidate for the corresponding scev in unsigned
    type with the same precision, rather than its original type.

    Backport from master.
    2020-04-09  Bin Cheng  <bin.cheng@linux.alibaba.com>
        PR tree-optimization/93674

    gcc/
        * tree-ssa-loop-ivopts.c (langhooks.h): New include.
        (add_iv_candidate_for_use): For iv_use of non integer or pointer type,
        or non-mode precision type, add candidate in unsigned type with the
        same precision.

    gcc/testsuite/
        * g++.dg/pr93674.C: New test.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/93674] [8/9 Regression] GCC eliminates conditions it should not, when strict-enums is on
       [not found] <bug-93674-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2020-05-04  6:43 ` cvs-commit at gcc dot gnu.org
@ 2020-05-04  8:58 ` cvs-commit at gcc dot gnu.org
  2020-05-04 14:54 ` rearnsha at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-04  8:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #20 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Bin Cheng <amker@gcc.gnu.org>:

https://gcc.gnu.org/g:386f23b84aafbdb43701b5a50ebe2dc1f4e6201f

commit r8-10234-g386f23b84aafbdb43701b5a50ebe2dc1f4e6201f
Author: Bin Cheng <bin.cheng@linux.alibaba.com>
Date:   Mon May 4 16:56:34 2020 +0800

    Add unsigned type iv_cand for iv_use with non mode-precision type

    Precisely,  for iv_use if it's not integer/pointer type, or non-mode
    precision type, add candidate for the corresponding scev in unsigned
    type with the same precision, rather than its original type.

    Backport from master.
    2020-04-09  Bin Cheng  <bin.cheng@linux.alibaba.com>
        PR tree-optimization/93674

    gcc/
        * tree-ssa-loop-ivopts.c (langhooks.h): New include.
        (add_iv_candidate_for_use): For iv_use of non integer or pointer type,
        or non-mode precision type, add candidate in unsigned type with the
        same precision.

    gcc/testsuite/
        * g++.dg/pr93674.C: New test.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/93674] [8/9 Regression] GCC eliminates conditions it should not, when strict-enums is on
       [not found] <bug-93674-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2020-05-04  8:58 ` cvs-commit at gcc dot gnu.org
@ 2020-05-04 14:54 ` rearnsha at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2020-05-04 14:54 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #21 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Now fixed on all live branches

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-05-04 14:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-93674-4@http.gcc.gnu.org/bugzilla/>
2020-04-09  8:43 ` [Bug tree-optimization/93674] [8/9/10 Regression] GCC eliminates conditions it should not, when strict-enums is on cvs-commit at gcc dot gnu.org
2020-04-18 17:05 ` law at redhat dot com
2020-04-20  9:30 ` [Bug tree-optimization/93674] [8/9 " rearnsha at gcc dot gnu.org
2020-04-20 11:17 ` amker at gcc dot gnu.org
2020-05-04  6:43 ` cvs-commit at gcc dot gnu.org
2020-05-04  8:58 ` cvs-commit at gcc dot gnu.org
2020-05-04 14:54 ` rearnsha at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).