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

            Bug ID: 64824
           Summary: ICE in gimple verification
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: u17263 at att dot net

Created attachment 34594
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34594&action=edit
test case

gcc version: 5.0.0 / svn: r220182

gcc -Wall -fopenmp -c bug-8.c
bug-8.c: In function ‘foo’:
bug-8.c:6:1: error: type mismatch in shift expression
 foo (void)
 ^
long long int
int
unsigned int
ldata.0 = expr << D.2971;
bug-8.c:6:1: internal compiler error: verify_gimple failed
0xb0102f verify_gimple_in_seq(gimple_statement_base*)
        /home/mentor/gomp/trunk/gcc/tree-cfg.c:4736
0x8cfd27 gimplify_body(tree_node*, bool)
        /home/mentor/gomp/trunk/gcc/gimplify.c:9117
0x8d0146 gimplify_function_tree(tree_node*)
        /home/mentor/gomp/trunk/gcc/gimplify.c:9202
0x715237 cgraph_node::analyze()
        /home/mentor/gomp/trunk/gcc/cgraphunit.c:620
0x717e4e analyze_functions
        /home/mentor/gomp/trunk/gcc/cgraphunit.c:1008
0x7185b5 symbol_table::finalize_compilation_unit()
        /home/mentor/gomp/trunk/gcc/cgraphunit.c:2365
0x5bb872 c_write_global_declarations()
        /home/mentor/gomp/trunk/gcc/c/c-decl.c:10789

Reply via email to