This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/79769] New: [CHKP] ICE in chkp_find_bounds_1 (Unexpected tree code complex_cst)


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

            Bug ID: 79769
           Summary: [CHKP] ICE in chkp_find_bounds_1 (Unexpected tree code
                    complex_cst)
           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 introduction of CHKP, we ICE on:

$ cat ice.c
void a (_Complex) { a (3); }

$ g++ -fcheck-pointer-bounds -mabi=ms -mmpx ice.c
ice.c: In function ‘void a.chkp(__complex__ double,
\xe2\x80\x98pointer_bounds_typ\xe2\x80\x99 not supported by dump_type#<type
error>, void, ...)’:
ice.c:1:28: internal compiler error: chkp_find_bounds: Unexpected tree code
complex_cst
 void a (_Complex) { a (3); }
                            ^
0x102b237 chkp_find_bounds_1
        ../../gcc/tree-chkp.c:3681
0x102fb5f chkp_find_bounds
        ../../gcc/tree-chkp.c:3702
0x102fb5f chkp_add_bounds_to_call_stmt
        ../../gcc/tree-chkp.c:1899
0x102fb5f chkp_instrument_function
        ../../gcc/tree-chkp.c:4286
0x102fb5f chkp_execute
        ../../gcc/tree-chkp.c:4470
0x102fb5f execute
        ../../gcc/tree-chkp.c:4529

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]