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/79788] ICE in expand_expr_real_2, at expr.c:9557


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

Alexander Ivchenko <aivchenk at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aivchenk at gmail dot com

--- Comment #4 from Alexander Ivchenko <aivchenk at gmail dot com> ---
This is not a CHKP issue as we ICE without it as well:

>gcc-7 /export/users/aivchenk/gnu_ws/gcc/gcc/testsuite/gcc.dg/pr38934.c -m32 -ftrapv

/export/users/aivchenk/gnu_ws/gcc/gcc/testsuite/gcc.dg/pr38934.c:14:35:
internal compiler error: in expand_expr_real_2, at expr.c:9569
   if (p >= -9223372036854775808LL - (signed char) g)
            ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
0xa5e6a3 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc/gcc/expr.c:9569
0x8fa8c6 expand_gimple_stmt_1
        ../../gcc/gcc/cfgexpand.c:3677
0x8fab10 expand_gimple_stmt
        ../../gcc/gcc/cfgexpand.c:3737
0x901bf4 expand_gimple_basic_block
        ../../gcc/gcc/cfgexpand.c:5744
0x903656 execute


gcc-4.8.3 works though. So it's a regression

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