public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/66568] New: [CHKP] internal compiler error: in expand_expr_addr_expr_1
@ 2015-06-17 11:53 ienkovich at gcc dot gnu.org
  2015-06-18 10:15 ` [Bug middle-end/66568] " ienkovich at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ienkovich at gcc dot gnu.org @ 2015-06-17 11:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66568
           Summary: [CHKP] internal compiler error: in
                    expand_expr_addr_expr_1
           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
int a, b, c;
void *set_test () {
  if (b)
    a ? exit (0) : exit (1);
  b = c;
}
>gcc -fcheck-pointer-bounds -mmpx -O2 test.i
test.i: In function 'set_test':
test.i:8:9: warning: implicit declaration of function 'exit'
[-Wimplicit-function-declaration]
     a ? exit (0) : exit (1);
         ^
test.i:8:9: warning: incompatible implicit declaration of built-in function
'exit'
test.i:8:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
test.i: In function 'set_test.chkp':
test.i:6:7: internal compiler error: in expand_expr_addr_expr_1, at expr.c:7671
 void *set_test () {
       ^
0x98c710 expand_expr_addr_expr_1
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/expr.c:7671
0x98cdaa expand_expr_addr_expr
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/expr.c:7760
0x9985f0 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/expr.c:10638
0x98d1e1 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**, bool)
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/expr.c:7928
0x83c460 expand_normal
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/expr.h:261
0x84853e expand_return
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/cfgexpand.c:3148
0x848cd1 expand_gimple_stmt_1
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/cfgexpand.c:3290
0x84922d expand_gimple_stmt
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/cfgexpand.c:3414
0x8502ed expand_gimple_basic_block
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/cfgexpand.c:5426
0x851f5f execute
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/cfgexpand.c:6045

Fails on GCC 6 and GCC 5.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-23 11:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-17 11:53 [Bug middle-end/66568] New: [CHKP] internal compiler error: in expand_expr_addr_expr_1 ienkovich at gcc dot gnu.org
2015-06-18 10:15 ` [Bug middle-end/66568] " ienkovich at gcc dot gnu.org
2015-07-02  4:52 ` hjl.tools at gmail dot com
2015-07-23 10:40 ` ienkovich at gcc dot gnu.org
2015-07-23 11:15 ` ienkovich at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).