public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/95804] New: ice in generate_code_for_partition, at tree-loop-distribution.c:1323
@ 2020-06-21 19:40 dcb314 at hotmail dot com
  2020-06-22  8:48 ` [Bug tree-optimization/95804] " rguenth at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: dcb314 at hotmail dot com @ 2020-06-21 19:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95804
           Summary: ice in generate_code_for_partition, at
                    tree-loop-distribution.c:1323
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

This C source code:

int a, b, c, e;
int *d;
void f() {
  int g;
  int *h;
  for (; b; b++) {
    for (; c; c++)
      ;
    e = *d || *h;
    for (; a; a++)
      h = g;
  }
  for (; e;)
    ;
}

on recent gcc trunk with compiler flag -O3 on x86_64, does this:

$ /home/dcb/gcc/results/bin/gcc -c -w -O3 bug624.c
during GIMPLE pass: ldist
bug624.c: In function ‘f’:
bug624.c:3:6: internal compiler error: in generate_code_for_partition, at
tree-loop-distribution.c:1323
    3 | void f() {
      |      ^
0x85d652 generate_code_for_partition
        ../../trunk.git/gcc/tree-loop-distribution.c:1323
0x3343807 loop_distribution::distribute_loop(loop*, vec<gimple*, va_heap,
vl_ptr>, control_dependences*, int*, bool*, bool)
        ../../trunk.git/gcc/tree-loop-distribution.c:3114
0x334a754 loop_distribution::execute(function*)
        ../../trunk.git/gcc/tree-loop-distribution.c:3303
0x334e075 execute
        ../../trunk.git/gcc/tree-loop-distribution.c:3391

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

end of thread, other threads:[~2020-07-10  5:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-21 19:40 [Bug c/95804] New: ice in generate_code_for_partition, at tree-loop-distribution.c:1323 dcb314 at hotmail dot com
2020-06-22  8:48 ` [Bug tree-optimization/95804] " rguenth at gcc dot gnu.org
2020-06-22  9:06 ` amker at gcc dot gnu.org
2020-06-22 15:26 ` dcb314 at hotmail dot com
2020-06-25  6:07 ` [Bug tree-optimization/95804] [11 Regression] ICE in generate_code_for_partition, at tree-loop-distribution.c:1323 since r11-1565-g2c0069fafb53ccb7 marxin at gcc dot gnu.org
2020-07-08 17:56 ` marxin at gcc dot gnu.org
2020-07-09  1:50 ` amker at gcc dot gnu.org
2020-07-09 10:29 ` cvs-commit at gcc dot gnu.org
2020-07-09 11:47 ` rguenth at gcc dot gnu.org
2020-07-10  4:03 ` cvs-commit at gcc dot gnu.org
2020-07-10  4:12 ` cvs-commit at gcc dot gnu.org
2020-07-10  5:12 ` amker 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).