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

            Bug ID: 79764
           Summary: [7 Regression][CHKP] ICE in
                    chkp_make_addressed_object_bounds: Unexpected tree
                    code bit_field_ref in tree-chkp.c:3528
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: ienkovich at gcc dot gnu.org
  Target Milestone: ---

Starting from r236630 (the PR is probably latent), we ICE on:

$ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ext/alias-canon3.C
-mmpx -fcheck-pointer-bounds
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ext/alias-canon3.C: In member
function ‘const float& A::f.chkp(\xe2\x80\x98pointer_bounds_typ\xe2\x80\x99 not
supported by dump_type#<type error>, void, ...) const’:
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ext/alias-canon3.C:12:1:
internal compiler error: chkp_make_addressed_object_bounds: Unexpected tree
code bit_field_ref
 }
 ^
0x1029f8e chkp_make_addressed_object_bounds
        ../../gcc/tree-chkp.c:3528
0x102acbc chkp_find_bounds_1
        ../../gcc/tree-chkp.c:3664
0x102ddce chkp_find_bounds
        ../../gcc/tree-chkp.c:3702
0x102ddce chkp_compute_bounds_for_assignment
        ../../gcc/tree-chkp.c:2608
0x102b18f chkp_get_bounds_by_definition
        ../../gcc/tree-chkp.c:2865
0x102b18f chkp_find_bounds_1
        ../../gcc/tree-chkp.c:3621
0x102f7ba chkp_find_bounds
        ../../gcc/tree-chkp.c:3702
0x102f7ba chkp_add_bounds_to_ret_stmt
        ../../gcc/tree-chkp.c:1312
0x102f7ba chkp_instrument_function
        ../../gcc/tree-chkp.c:4280
0x102f7ba chkp_execute
        ../../gcc/tree-chkp.c:4470
0x102f7ba execute
        ../../gcc/tree-chkp.c:4529

Reply via email to