public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/102463] New: ice in fold_using_range::relation_fold_and_or
@ 2021-09-23  4:14 dcb314 at hotmail dot com
  2021-09-23  4:50 ` [Bug c/102463] [12 Regression] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2021-09-23  4:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102463
           Summary: ice in fold_using_range::relation_fold_and_or
           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:

_bfd_elf_merge_symbol_h, _bfd_elf_merge_symbol_h_1;
_Bool _bfd_elf_merge_symbol_olddef;
_bfd_elf_merge_symbol() {
  _Bool newdef = bfd_is_com_section(), ntdef, tdef;
  _bfd_elf_merge_symbol_olddef = _bfd_elf_merge_symbol_h;
  if (_bfd_elf_merge_symbol_h_1) {
    ntdef = newdef;
    tdef = _bfd_elf_merge_symbol_h;
  } else {
    ntdef = _bfd_elf_merge_symbol_h;
    tdef = newdef;
  }
  if (tdef && ntdef)
    ;
}

compiled by recent gcc and flag -O2, does this:

during GIMPLE pass: evrp
elflink.c: In function ‘_bfd_elf_merge_symbol’:
elflink.c:15198:1: internal compiler error: Segmentation fault
0xd6a899 crash_signal(int)
        ../../trunk.git/gcc/toplev.c:328
0x1a73c3c fold_using_range::relation_fold_and_or(irange&, gimple*, fur_source&)
        ../../trunk.git/gcc/gimple-range-fold.cc:1365

The problem first seems to occur sometime between git hash
947332a4e22aef9b, from last week, and hash 83aac698835edcdb
from yesterday.

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

end of thread, other threads:[~2021-09-23 17:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23  4:14 [Bug c/102463] New: ice in fold_using_range::relation_fold_and_or dcb314 at hotmail dot com
2021-09-23  4:50 ` [Bug c/102463] [12 Regression] " pinskia at gcc dot gnu.org
2021-09-23  6:28 ` [Bug tree-optimization/102463] " dcb314 at hotmail dot com
2021-09-23  6:52 ` rguenth at gcc dot gnu.org
2021-09-23  6:55 ` dcb314 at hotmail dot com
2021-09-23  7:31 ` aldyh at gcc dot gnu.org
2021-09-23  7:50 ` dcb314 at hotmail dot com
2021-09-23  8:16 ` aldyh at gcc dot gnu.org
2021-09-23 13:58 ` amacleod at redhat dot com
2021-09-23 17:35 ` cvs-commit at gcc dot gnu.org
2021-09-23 17:37 ` amacleod at redhat 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).