public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/100773] New: ice in operator[], at vec.h:890
@ 2021-05-26 14:55 dcb314 at hotmail dot com
  2021-05-26 20:20 ` [Bug tree-optimization/100773] [12 Regression] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2021-05-26 14:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100773
           Summary: ice in operator[], at vec.h:890
           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: ---

Someplace between gcc trunk dated 20210524 (experimental) (0f3cd532fa02d178)
and 20210526 (experimental) (0eac9c60ac1f28ee), this C code:

fts_build_mail() {
  int attempts = 2;
  while (fts_build_mail_real())
    if (--attempts == 0)
      break;
}

with compiler flag -O2 does this: 

$ /home/dcb/gcc/results/bin/gcc -c -O2 -w bug720.c
during GIMPLE pass: evrp
fts-build-mail.c: In function ‘fts_build_mail’:
fts-build-mail.c:633:1: internal compiler error: in operator[], at vec.h:890
  633 | }
      | ^
0x1789c8e vec<range_def_chain::rdc, va_heap, vl_embed>::operator[](unsigned
int)
        ../../trunk.git/gcc/vec.h:890
0x1789c8e vec<range_def_chain::rdc, va_heap, vl_ptr>::operator[](unsigned int)
        ../../trunk.git/gcc/vec.h:1461
0x1789c8e range_def_chain::register_dependency(tree_node*, tree_node*,
basic_blo
ck_def*)
        ../../trunk.git/gcc/gimple-range-gori.cc:179
0x177f4e6 fold_using_range::range_of_range_op(irange&, gimple*, fur_source&)
        ../../trunk.git/gcc/gimple-range.cc:447

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

end of thread, other threads:[~2021-05-27 14:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 14:55 [Bug c/100773] New: ice in operator[], at vec.h:890 dcb314 at hotmail dot com
2021-05-26 20:20 ` [Bug tree-optimization/100773] [12 Regression] " pinskia at gcc dot gnu.org
2021-05-27  6:27 ` dcb314 at hotmail dot com
2021-05-27  7:12 ` dcb314 at hotmail dot com
2021-05-27  8:12 ` dcb314 at hotmail dot com
2021-05-27  8:22 ` dcb314 at hotmail dot com
2021-05-27  8:33 ` pinskia at gcc dot gnu.org
2021-05-27 14:11 ` marxin at gcc dot gnu.org
2021-05-27 14:16 ` dcb314 at hotmail dot com

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