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

            Bug ID: 97797
           Summary: internal compiler error: in build2, at tree.c:4814
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vladimir.kokovic at gmail dot com
  Target Milestone: ---

GIT_DIR=/mnt/WD-Elements-25A1/src/gcc-mirror-git/gcc/.git git describe HEAD
misc/first-auto-changelog-4144-gc283a711c85

Build a cross compiler for MinGW(gcc 10.2.0)

Executing on host:
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-5.c 
  -fdiagnostics-plain-output    -O1  -fgimple -fdump-tree-fre1 -S -o
ssa-fre-5.s    (timeout = 300)
spawn -ignore SIGHUP
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-5.c
-fdiagnostics-plain-output -O1 -fgimple -fdump-tree-fre1 -S -o ssa-fre-5.s
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-5.c:
In function 'foo':
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-5.c:22:3:
internal compiler error: in build2, at tree.c:4814
0x5efe8f build2(tree_code, tree_node*, tree_node*, tree_node*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/tree.c:4814
0x682779 build2_loc
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/tree.h:4366
0x682779 c_parser_gimple_binary_expression
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:1003
0x6838aa c_parser_gimple_statement
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:858
0x6838aa c_parser_gimple_compound_statement
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:649
0x685dfe c_parser_gimple_compound_statement
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:385
0x685dfe c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il,
profile_count)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:253
0x677257 c_parser_declaration_or_fndef
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:2537
0x67e293 c_parser_external_declaration
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:1777
0x67eda1 c_parser_translation_unit
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:1650
0x67eda1 c_parse_file()
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:21855
0x6cd07d c_common_parse_file()
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c-family/c-opts.c:1196
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
FAIL: gcc.dg/torture/ssa-fre-5.c   -O1  (internal compiler error)
FAIL: gcc.dg/torture/ssa-fre-5.c   -O1  (test for excess errors)

Executing on host:
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-6.c 
  -fdiagnostics-plain-output    -O1  -fgimple -fdump-tree-fre1 -S -o
ssa-fre-6.s    (timeout = 300)
spawn -ignore SIGHUP
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-6.c
-fdiagnostics-plain-output -O1 -fgimple -fdump-tree-fre1 -S -o ssa-fre-6.s
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-6.c:
In function 'foo':
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-6.c:22:3:
internal compiler error: in build2, at tree.c:4814
0x5efe8f build2(tree_code, tree_node*, tree_node*, tree_node*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/tree.c:4814
0x682779 build2_loc
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/tree.h:4366
0x682779 c_parser_gimple_binary_expression
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:1003
0x6838aa c_parser_gimple_statement
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:858
0x6838aa c_parser_gimple_compound_statement
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:649
0x685dfe c_parser_gimple_compound_statement
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:385
0x685dfe c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il,
profile_count)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:253
0x677257 c_parser_declaration_or_fndef
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:2537
0x67e293 c_parser_external_declaration
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:1777
0x67eda1 c_parser_translation_unit
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:1650
0x67eda1 c_parse_file()
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:21855
0x6cd07d c_common_parse_file()
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c-family/c-opts.c:1196
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
FAIL: gcc.dg/torture/ssa-fre-6.c   -O1  (internal compiler error)
FAIL: gcc.dg/torture/ssa-fre-6.c   -O1  (test for excess errors)

Executing on host:
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-7.c 
  -fdiagnostics-plain-output    -O1  -fgimple -fdump-tree-fre1 -S -o
ssa-fre-7.s    (timeout = 300)
spawn -ignore SIGHUP
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-7.c
-fdiagnostics-plain-output -O1 -fgimple -fdump-tree-fre1 -S -o ssa-fre-7.s
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-7.c:
In function 'foo':
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/torture/ssa-fre-7.c:23:3:
internal compiler error: in build2, at tree.c:4814
0x5efe8f build2(tree_code, tree_node*, tree_node*, tree_node*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/tree.c:4814
0x682779 build2_loc
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/tree.h:4366
0x682779 c_parser_gimple_binary_expression
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:1003
0x6838aa c_parser_gimple_statement
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:858
0x6838aa c_parser_gimple_compound_statement
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:649
0x685dfe c_parser_gimple_compound_statement
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:385
0x685dfe c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il,
profile_count)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/gimple-parser.c:253
0x677257 c_parser_declaration_or_fndef
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:2537
0x67e293 c_parser_external_declaration
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:1777
0x67eda1 c_parser_translation_unit
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:1650
0x67eda1 c_parse_file()
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c/c-parser.c:21855
0x6cd07d c_common_parse_file()
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/c-family/c-opts.c:1196
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
FAIL: gcc.dg/torture/ssa-fre-7.c   -O1  (internal compiler error)
FAIL: gcc.dg/torture/ssa-fre-7.c   -O1  (test for excess errors)

Reply via email to