public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/108942] New: ICE in build2, at tree.c: 5096 for gcc/testsuite/gcc.dg/torture/ssa-fre-7.c:23:3
@ 2023-02-27  9:40 nightstrike at gmail dot com
  2023-02-27 17:47 ` [Bug c/108942] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: nightstrike at gmail dot com @ 2023-02-27  9:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108942
           Summary: ICE in build2, at tree.c: 5096 for
                    gcc/testsuite/gcc.dg/torture/ssa-fre-7.c:23:3
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nightstrike at gmail dot com
  Target Milestone: ---

Created attachment 54541
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54541&action=edit
preprocessed source from -freport-bug

The gcc.dg/torture/ssa-fre-7.c tests fail with the following backtrace:

0x844e1f build2(tree_code, tree_node*, tree_node*, tree_node*)
        ../../gcc/tree.cc:5096
0x9a26d7 build2_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        ../../gcc/tree.h:4604
0x9a26d7 c_parser_gimple_binary_expression
        ../../gcc/c/gimple-parser.cc:1027
0x9a38ce c_parser_gimple_statement
        ../../gcc/c/gimple-parser.cc:873
0x9a38ce c_parser_gimple_compound_statement
        ../../gcc/c/gimple-parser.cc:664
0x9a5c11 c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il,
profile_count)
        ../../gcc/c/gimple-parser.cc:253
0x9954a6 c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.cc:2835
0x99c6fb c_parser_external_declaration
        ../../gcc/c/c-parser.cc:1925
0x99d0d3 c_parser_translation_unit
        ../../gcc/c/c-parser.cc:1779
0x99d0d3 c_parse_file()
        ../../gcc/c/c-parser.cc:24632
0xa088e1 c_common_parse_file()
        ../../gcc/c-family/c-opts.cc:1248

This is in a linux to 64-bit windows cross compiler environment.  Output of
-freport-bug added as an attachment.

For this version of the repository (commit
e6d39f68d03c46637ca6e1bede3d28eae6278df3), line 23 is:

  p_4 = _Literal (int *) &x + _2;

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

end of thread, other threads:[~2023-02-28 10:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-27  9:40 [Bug c/108942] New: ICE in build2, at tree.c: 5096 for gcc/testsuite/gcc.dg/torture/ssa-fre-7.c:23:3 nightstrike at gmail dot com
2023-02-27 17:47 ` [Bug c/108942] " pinskia at gcc dot gnu.org
2023-02-27 17:50 ` [Bug testsuite/108942] " pinskia at gcc dot gnu.org
2023-02-28 10:36 ` rguenth at gcc dot gnu.org
2023-02-28 10:37 ` cvs-commit at gcc dot gnu.org
2023-02-28 10:37 ` rguenth 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).