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

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |16.0
           Keywords|                            |compile-time-hog
            Summary|compiler hang at -Os on     |[16 regression] compiler
                   |x86_64-linux-gnu            |hang at -Os on
                   |                            |x86_64-linux-gnu
   Target Milestone|---                         |16.0
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=121206

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
#0  0x00005652696327b0 in memcpy (__dest=0x7ffe1455b3a0, __src=0x7ffe1455b210,
__len=80) at /usr/include/bits/string_fortified.h:29
#1  wide_int_storage::operator= (this=<optimized out>, x=...) at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/wide-int.h:1221
#2  generic_wide_int<wide_int_storage>::operator= (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/wide-int.h:775
#3  irange_bitmask::irange_bitmask (this=<optimized out>, type=<optimized out>,
min=..., max=..., this=<optimized out>, type=<optimized out>, min=..., max=...)
    at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/value-range.cc:54
#4  0x0000565269631070 in irange::get_bitmask (this=0x7ffe1455de88) at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/value-range.cc:2514
#5  0x00005652699bde42 in update_known_bitmask (r=..., code=MINUS_EXPR, lh=...,
rh=...) at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/range-op.cc:525
#6  0x0000565269a360d3 in range_operator::fold_range (this=0x56526b62c660
<op_minus>, r=..., type=<optimized out>, lh=..., rh=..., trio=...)
    at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/range-op.cc:749
#7  0x0000565269c2ff83 in operator_plus::op1_range (this=<optimized out>,
r=..., type=<optimized out>, lhs=..., op2=..., trio=...)
    at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/range-op.cc:1909
#8  0x0000565269d9853a in operator_plus::op2_range (this=0x56526b62c670
<op_plus>, r=..., type=0x7fd39b41d5e8, lhs=..., op1=..., rel=...)
    at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/range-op.cc:1923
[...]
#36 0x0000565269b379e6 in expand_expr_real_1 (exp=0x7fd39b40dc18,
target=<optimized out>, tmode=E_VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0,
inner_reference_p=false)
    at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/expr.cc:11428
#37 0x000056526a279a3f in expand_expr_real (exp=0x7fd39b40dc18, target=0x0,
tmode=E_VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0, inner_reference_p=false)
    at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/expr.cc:9527
#38 expand_normal (exp=<optimized out>, exp=<optimized out>) at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/expr.h:329
#39 do_jump (exp=<optimized out>, if_false_label=0x0,
if_true_label=0x7fd39b416dc0, prob=...) at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/dojump.cc:608
#40 0x0000565269bb9b0d in do_jump_1 (code=code@entry=NE_EXPR,
op0=op0@entry=0x7fd39b40dc18, op1=op1@entry=0x7fd39b41f300,
if_false_label=if_false_label@entry=0x0,
    if_true_label=0x7fd39b416dc0, prob=...) at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/dojump.cc:213
#41 0x0000565269bb72a2 in jumpif_1 (code=NE_EXPR, op0=<optimized out>,
op1=<optimized out>, label=<optimized out>, prob=...)
    at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/dojump.cc:931
#42 expand_gimple_cond (bb=<optimized out>, stmt=0x7fd39b5d0ec8) at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/cfgexpand.cc:3005
#43 0x0000565269b2d40b in expand_gimple_basic_block (bb=<optimized out>,
asan_epilog_seq=0x0) at
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/cfgexpand.cc:6352
[...]

Maybe a dupe of PR121206.

Reply via email to