public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/102172] New: ice in determine_exit_conditions, at tree-ssa-loop-manip.c:1049
@ 2021-09-02  8:09 dcb314 at hotmail dot com
  2021-09-02  8:12 ` [Bug c/102172] " dcb314 at hotmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2021-09-02  8:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102172
           Summary: ice in determine_exit_conditions, at
                    tree-ssa-loop-manip.c:1049
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For this C code:

char **Gif_ClipImage_gfi_0;
int Gif_ClipImage_y, Gif_ClipImage_shift;
void Gif_ClipImage() {
  for (; Gif_ClipImage_y >= Gif_ClipImage_shift; Gif_ClipImage_y++)
    Gif_ClipImage_gfi_0[Gif_ClipImage_shift] =
        Gif_ClipImage_gfi_0[Gif_ClipImage_y];
}

compiled by recent gcc trunk and compiler flag -O3 -march=bdver2,
does this:

$ /home/dcb/gcc/results/bin/gcc -c -O3 -march=bdver2 bug753.c
during GIMPLE pass: aprefetch
bug753.c: In function ‘Gif_ClipImage’:
bug753.c:3:6: internal compiler error: in determine_exit_conditions, at
tree-ssa-loop-manip.c:1049
    3 | void Gif_ClipImage() {
      |      ^~~~~~~~~~~~~
0xf070ff determine_exit_conditions(loop*, tree_niter_desc*, unsigned int,
tree_node**, tree_node**, tree_node**, tree_code*, tree_node**)
        ../../trunk.git/gcc/tree-ssa-loop-manip.c:1049
0xf070ff tree_transform_and_unroll_loop(loop*, unsigned int, edge_def*,
tree_niter_desc*, void (*)(loop*, void*), void*)

The bug first starts sometime between git hash f8977166135de09f,
dated 20210824 and git hash 3ac6b5cff1eca4e1, dated 20210825.

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

* [Bug c/102172] ice in determine_exit_conditions, at tree-ssa-loop-manip.c:1049
  2021-09-02  8:09 [Bug c/102172] New: ice in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 dcb314 at hotmail dot com
@ 2021-09-02  8:12 ` dcb314 at hotmail dot com
  2021-09-02  8:14 ` marxin at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2021-09-02  8:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
That's only 35 revisions, I'll have a go at a git bisect.

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

* [Bug c/102172] ice in determine_exit_conditions, at tree-ssa-loop-manip.c:1049
  2021-09-02  8:09 [Bug c/102172] New: ice in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 dcb314 at hotmail dot com
  2021-09-02  8:12 ` [Bug c/102172] " dcb314 at hotmail dot com
@ 2021-09-02  8:14 ` marxin at gcc dot gnu.org
  2021-09-02  8:15 ` [Bug c/102172] [12 Regression] ICE in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67 marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-02  8:14 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r12-3136-g3673dcf6d6baeb67.

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

* [Bug c/102172] [12 Regression] ICE in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67
  2021-09-02  8:09 [Bug c/102172] New: ice in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 dcb314 at hotmail dot com
  2021-09-02  8:12 ` [Bug c/102172] " dcb314 at hotmail dot com
  2021-09-02  8:14 ` marxin at gcc dot gnu.org
@ 2021-09-02  8:15 ` marxin at gcc dot gnu.org
  2021-09-02  8:22 ` [Bug tree-optimization/102172] " pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-02  8:15 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
            Summary|ice in                      |[12 Regression] ICE in
                   |determine_exit_conditions,  |determine_exit_conditions,
                   |at                          |at
                   |tree-ssa-loop-manip.c:1049  |tree-ssa-loop-manip.c:1049
                   |                            |since
                   |                            |r12-3136-g3673dcf6d6baeb67
             Status|UNCONFIRMED                 |NEW
                 CC|                            |guojiufu at gcc dot gnu.org
   Last reconfirmed|                            |2021-09-02

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

* [Bug tree-optimization/102172] [12 Regression] ICE in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67
  2021-09-02  8:09 [Bug c/102172] New: ice in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2021-09-02  8:15 ` [Bug c/102172] [12 Regression] ICE in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67 marxin at gcc dot gnu.org
@ 2021-09-02  8:22 ` pinskia at gcc dot gnu.org
  2021-09-02  9:12 ` rguenth at gcc dot gnu.org
  2021-09-02  9:22 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-02  8:22 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0
           Keywords|                            |ice-on-valid-code
          Component|c                           |tree-optimization

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

* [Bug tree-optimization/102172] [12 Regression] ICE in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67
  2021-09-02  8:09 [Bug c/102172] New: ice in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2021-09-02  8:22 ` [Bug tree-optimization/102172] " pinskia at gcc dot gnu.org
@ 2021-09-02  9:12 ` rguenth at gcc dot gnu.org
  2021-09-02  9:22 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-09-02  9:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
there are duplicates of this bug already

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

* [Bug tree-optimization/102172] [12 Regression] ICE in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67
  2021-09-02  8:09 [Bug c/102172] New: ice in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2021-09-02  9:12 ` rguenth at gcc dot gnu.org
@ 2021-09-02  9:22 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-02  9:22 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> there are duplicates of this bug already

Yes dup of bug 102087.

*** This bug has been marked as a duplicate of bug 102087 ***

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

end of thread, other threads:[~2021-09-02  9:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02  8:09 [Bug c/102172] New: ice in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 dcb314 at hotmail dot com
2021-09-02  8:12 ` [Bug c/102172] " dcb314 at hotmail dot com
2021-09-02  8:14 ` marxin at gcc dot gnu.org
2021-09-02  8:15 ` [Bug c/102172] [12 Regression] ICE in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67 marxin at gcc dot gnu.org
2021-09-02  8:22 ` [Bug tree-optimization/102172] " pinskia at gcc dot gnu.org
2021-09-02  9:12 ` rguenth at gcc dot gnu.org
2021-09-02  9:22 ` pinskia 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).