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

            Bug ID: 81737
           Summary: [8 Regression] 164.gzip in SPEC CPU 2000 failed to
                    build
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: polacek at redhat dot com
  Target Milestone: ---

On x86-64, r81695 caused 164.gzip in SPEC CPU 2000 failed to build:

[hjl@gnu-35 00000001]$ /export/gnu/import/git/gcc-test-spec/usr/bin/gcc -c -o
/tmp/zip.o   -DSPEC_CPU2000_LP64         -O2 -ffast-math   unzip.c
In file included from unzip.c:21:0:
unzip.c: In function \u2018unzip\u2019:
gzip.h:253:30: internal compiler error: Segmentation fault
 #define SH(p) ((ush)(uch)((p)[0]) | ((ush)(uch)((p)[1]) << 8))
                          ~~~~^~~~
gzip.h:254:22: note: in expansion of macro \u2018SH\u2019
 #define LG(p) ((ulg)(SH(p)) | ((ulg)(SH((p)+2)) << 16))
                      ^~
unzip.c:113:13: note: in expansion of macro \u2018LG\u2019
  orig_crc = LG(inbuf + LOCCRC);
             ^~
0xd028cf crash_signal
        ../../src-trunk/gcc/toplev.c:339
0x85f140 tree_check5(tree_node*, char const*, int, char const*, tree_code,
tree_code, tree_code, tree_code, tree_code)
        ../../src-trunk/gcc/tree.h:3164
0xa6b783 fold_indirect_ref_1(unsigned int, tree_node*, tree_node*)
        ../../src-trunk/gcc/fold-const.c:14110
0xa873fb fold_indirect_ref_loc(unsigned int, tree_node*)
        ../../src-trunk/gcc/fold-const.c:14171
0xad4821 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../src-trunk/gcc/gimplify.c:11433
0xad37a4 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../src-trunk/gcc/gimplify.c:11422
0xad3427 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../src-trunk/gcc/gimplify.c:12049
0xad37a4 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../src-trunk/gcc/gimplify.c:11422
0xad3427 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../src-trunk/gcc/gimplify.c:12049
0xae357d gimplify_modify_expr
        ../../src-trunk/gcc/gimplify.c:5510
0xad4afa gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../src-trunk/gcc/gimplify.c:11320
0xad7c28 gimplify_stmt(tree_node**, gimple**)
        ../../src-trunk/gcc/gimplify.c:6542
0xad546b gimplify_statement_list
        ../../src-trunk/gcc/gimplify.c:1732
0xad546b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../src-trunk/gcc/gimplify.c:11748
0xad7c28 gimplify_stmt(tree_node**, gimple**)
        ../../src-trunk/gcc/gimplify.c:6542
0xadbd6a gimplify_cond_expr
        ../../src-trunk/gcc/gimplify.c:4016
0xad4aa8 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../src-trunk/gcc/gimplify.c:11277
0xad7c28 gimplify_stmt(tree_node**, gimple**)
        ../../src-trunk/gcc/gimplify.c:6542
0xadbd6a gimplify_cond_expr
        ../../src-trunk/gcc/gimplify.c:4016
0xad4aa8 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../src-trunk/gcc/gimplify.c:11277
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.
[hjl@gnu-35 00000001]$

Reply via email to