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

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).