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 ipa/81112] New: [7/8 Regression] internal compiler error: tree check: expected integer_cst, have range_expr in get_len, at tree.h:5321


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

            Bug ID: 81112
           Summary: [7/8 Regression] internal compiler error: tree check:
                    expected integer_cst, have range_expr in get_len, at
                    tree.h:5321
           Product: gcc
           Version: 7.1.1
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---
            Target: x86_64-*-*, i?86-*-*

Created attachment 41569
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41569&action=edit
testcase

> g++-7 t.C -O2 -S
t.C:44:1: internal compiler error: Segmentation fault
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.

checking-enabled:

t.C:44:1: internal compiler error: tree check: expected integer_cst, have
range_expr in get_len, at tree.h:5321
 }
 ^
0x150e49c tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        /space/rguenther/src/svn/gcc-7-branch/gcc/tree.c:9841
0x7c0758 tree_check(tree_node const*, char const*, int, char const*, tree_code)
        /space/rguenther/src/svn/gcc-7-branch/gcc/tree.h:3333
0x8d1d2d wi::extended_tree<128>::get_len() const
        /space/rguenther/src/svn/gcc-7-branch/gcc/tree.h:5321
0x8d1c06 wi::int_traits<generic_wide_int<wi::extended_tree<128> >
>::decompose(long*, unsigned int, generic_wide_int<wi::extended_tree<128> >
const&)
        /space/rguenther/src/svn/gcc-7-branch/gcc/wide-int.h:929
0x8d1a48
wide_int_ref_storage<true>::wide_int_ref_storage<generic_wide_int<wi::extended_tree<128>
> >(generic_wide_int<wi::extended_tree<128> > const&, unsigned int)
        /space/rguenther/src/svn/gcc-7-branch/gcc/wide-int.h:976
0x8d15e4 generic_wide_int<wide_int_ref_storage<true>
>::generic_wide_int<generic_wide_int<wi::extended_tree<128> >
>(generic_wide_int<wi::extended_tree<128> > const&, unsigned int)
        /space/rguenther/src/svn/gcc-7-branch/gcc/wide-int.h:753
0xa4a4c9
fixed_wide_int_storage<128>::fixed_wide_int_storage<generic_wide_int<wi::extended_tree<128>
> >(generic_wide_int<wi::extended_tree<128> > const&)
        /space/rguenther/src/svn/gcc-7-branch/gcc/wide-int.h:1206
0xceaa68 generic_wide_int<fixed_wide_int_storage<128> >&
generic_wide_int<fixed_wide_int_storage<128>
>::operator=<generic_wide_int<wi::extended_tree<128> >
>(generic_wide_int<wi::extended_tree<128> > const&)
        /space/rguenther/src/svn/gcc-7-branch/gcc/wide-int.h:881
0xefe89d find_constructor_constant_at_offset
        /space/rguenther/src/svn/gcc-7-branch/gcc/ipa-prop.c:3033
0xefecb3 find_constructor_constant_at_offset
        /space/rguenther/src/svn/gcc-7-branch/gcc/ipa-prop.c:3066
0xefef55 ipa_find_agg_cst_from_init
        /space/rguenther/src/svn/gcc-7-branch/gcc/ipa-prop.c:3097
0xefef92 ipa_find_agg_cst_for_param(ipa_agg_jump_function*, tree_node*, long,
bool, bool*)
        /space/rguenther/src/svn/gcc-7-branch/gcc/ipa-prop.c:3116
0xede95e evaluate_conditions_for_known_args
        /space/rguenther/src/svn/gcc-7-branch/gcc/ipa-inline-analysis.c:857
0xedf0fe evaluate_properties_for_edge
        /space/rguenther/src/svn/gcc-7-branch/gcc/ipa-inline-analysis.c:991
0xee85bd do_estimate_edge_size(cgraph_edge*)
        /space/rguenther/src/svn/gcc-7-branch/gcc/ipa-inline-analysis.c:3909
0xedce5a estimate_edge_size
        /space/rguenther/src/svn/gcc-7-branch/gcc/ipa-inline.h:297
0xedcec1 estimate_edge_growth
        /space/rguenther/src/svn/gcc-7-branch/gcc/ipa-inline.h:308
0xee8992 do_estimate_growth_1
        /space/rguenther/src/svn/gcc-7-branch/gcc/ipa-inline-analysis.c:4030
0xc2d9e0 cgraph_node::call_for_symbol_and_aliases(bool (*)(cgraph_node*,
void*), void*, bool)
        /space/rguenther/src/svn/gcc-7-branch/gcc/cgraph.h:3150
0xee8a18 estimate_growth(cgraph_node*)
        /space/rguenther/src/svn/gcc-7-branch/gcc/ipa-inline-analysis.c:4044

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