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 middle-end/66567] New: [CHKP] internal compiler error: in assign_parms


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

            Bug ID: 66567
           Summary: [CHKP] internal compiler error: in assign_parms
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ienkovich at gcc dot gnu.org
  Target Milestone: ---

>cat test.i
void  (*b) ();

void fn1 (const int *p1)
{
  static void *a = &&conv_1234_123C;
 conv_1234_123C:
  ;
}

void fn2 ()
{
  b = fn1;
}
>gcc -fcheck-pointer-bounds -mmpx test.i
test.i: In function 'fn1':
test.i:6:6: internal compiler error: in assign_parms, at function.c:3640
 void fn1 (const int *p1)
      ^
0x9fbaf5 assign_parms
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/function.c:3640
0xa00118 expand_function_start(tree_node*)
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/function.c:5081
0x8517c0 execute
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/cfgexpand.c:5939

Fails for GCC 6 and GCC 5.1


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