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 target/65562] chkp-lifetime-1.c:17:1: internal compiler error: in size_binop_loc, at fold-const.c:1761


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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |ktietz at gcc dot gnu.org

--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Backtrace is:

Can be reproduced manually with:

gcc.exe -S -o t.s chkp-lifetime-1.c -O2 -fcheck-pointer-bounds -mmpx

#0  internal_error (
    gmsgid=gmsgid@entry=0x155babe <void
va_heap::reserve<fcache::line_info>(vec<
fcache::line_info, va_heap, vl_embed>*&, unsigned int, bool)::__FUNCTION__+187>
"in %s, at %s:%d") at ../../gcc/gcc/diagnostic.c:1217
#1  0x01077daf in fancy_abort (
    file=file@entry=0x12b9f2c <void va_heap::reserve<ggc_root_tab
const*>(vec<gg
c_root_tab const*, va_heap, vl_embed>*&, unsigned int,
bool)::__FUNCTION__+1854>
 "../../gcc/gcc/fold-const.c", line=line@entry=1761,
    function=function@entry=0x12bd002 <size_binop_loc(unsigned int, tree_code,
t
ree_node*, tree_node*)::__FUNCTION__> "size_binop_loc")
    at ../../gcc/gcc/diagnostic.c:1291
#2  0x007e554c in size_binop_loc (loc=loc@entry=0,
    code=code@entry=MINUS_EXPR, arg0=arg0@entry=0xffe4c300, arg1=0xffef0420)
    at ../../gcc/gcc/fold-const.c:1760
#3  0x006765ef in chkp_output_static_bounds (stmts=0xc1baac8,
    var=<optimized out>, bnd_var=0xffe60580) at ../../gcc/gcc/tree-chkp.c:1024
#4  chkp_finish_file () at ../../gcc/gcc/tree-chkp.c:3735
#5  0x0077df4b in compile_file () at ../../gcc/gcc/toplev.c:627
#6  0x01199823 in do_compile () at ../../gcc/gcc/toplev.c:2076
#7  toplev::main (this=this@entry=0xc1bab8e, argc=argc@entry=8,
    argv=argv@entry=0xc1babbc) at ../../gcc/gcc/toplev.c:2174
#8  0x012096d2 in main (argc=8, argv=0xc1babbc) at ../../gcc/gcc/main.c:39


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