public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/105083] New: scev_initialize should check for loop prerequesites
@ 2022-03-28 13:33 rguenth at gcc dot gnu.org
  2022-03-28 13:33 ` [Bug middle-end/105083] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-03-28 13:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105083
           Summary: scev_initialize should check for loop prerequesites
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

The SCEV code has prerequesites like looking at preheader edges or requiring
recorded exists but it does not verify presence of those in scev_initialize ().

It could also provide safe operation without those.

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

* [Bug middle-end/105083] scev_initialize should check for loop prerequesites
  2022-03-28 13:33 [Bug middle-end/105083] New: scev_initialize should check for loop prerequesites rguenth at gcc dot gnu.org
@ 2022-03-28 13:33 ` rguenth at gcc dot gnu.org
  2022-05-03 12:15 ` cvs-commit at gcc dot gnu.org
  2022-05-03 12:15 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-03-28 13:33 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2022-03-28
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I will see to better document this for GCC 13.

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

* [Bug middle-end/105083] scev_initialize should check for loop prerequesites
  2022-03-28 13:33 [Bug middle-end/105083] New: scev_initialize should check for loop prerequesites rguenth at gcc dot gnu.org
  2022-03-28 13:33 ` [Bug middle-end/105083] " rguenth at gcc dot gnu.org
@ 2022-05-03 12:15 ` cvs-commit at gcc dot gnu.org
  2022-05-03 12:15 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-03 12:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:7bb6fa5a1c77ef6af26c70e3126a8b1353d1f987

commit r13-84-g7bb6fa5a1c77ef6af26c70e3126a8b1353d1f987
Author: Richard Biener <rguenther@suse.de>
Date:   Tue May 3 12:48:43 2022 +0200

    middle-end/105083 - check prerequesites in scev_initialize

    2022-05-03  Richard Biener  <rguenther@suse.de>

            PR middle-end/105083
            * tree-scalar-evolution.cc (scev_initialize): Verify we
            have appropriate loop state.
            * tree-ssa-dce.cc (perform_tree_ssa_dce): Re-order SCEV and
            loop init and finalization.

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

* [Bug middle-end/105083] scev_initialize should check for loop prerequesites
  2022-03-28 13:33 [Bug middle-end/105083] New: scev_initialize should check for loop prerequesites rguenth at gcc dot gnu.org
  2022-03-28 13:33 ` [Bug middle-end/105083] " rguenth at gcc dot gnu.org
  2022-05-03 12:15 ` cvs-commit at gcc dot gnu.org
@ 2022-05-03 12:15 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-03 12:15 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2022-05-03 12:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 13:33 [Bug middle-end/105083] New: scev_initialize should check for loop prerequesites rguenth at gcc dot gnu.org
2022-03-28 13:33 ` [Bug middle-end/105083] " rguenth at gcc dot gnu.org
2022-05-03 12:15 ` cvs-commit at gcc dot gnu.org
2022-05-03 12:15 ` rguenth 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).