public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/108605] New: [13 Regression] ICE in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2089
@ 2023-01-30 20:06 gscfq@t-online.de
  2023-01-30 20:28 ` [Bug ipa/108605] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gscfq@t-online.de @ 2023-01-30 20:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108605
           Summary: [13 Regression] ICE in ipa_push_agg_values_from_jfunc,
                    at ipa-cp.cc:2089
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20221016 and 20221023, at -O2+ :


$ cat z1.cc
typedef enum {A} E;
struct S {
  E __attribute__ ((mode (__byte__))) a;
  E __attribute__ ((mode (__byte__))) b;
  E __attribute__ ((mode (__byte__))) c;
  int d[2147483647];
  E e;
};
void foo (S *s)
{
  if (s->b && s->c != A)
    __builtin_abort ();
}
void bar ()
{
  struct S s[2];
  s[0].a = A;
  s[0].e = A;
  foo (s);
}


$ g++-13-20230129 -c z1.cc -O2
during IPA pass: inline
z1.cc:20:1: internal compiler error: in ipa_push_agg_values_from_jfunc, at
ipa-cp.cc:2089
   20 | }
      | ^
0x1b03d95 ipa_push_agg_values_from_jfunc(ipa_node_params*, cgraph_node*,
ipa_agg_jump_function*, unsigned int, vec<ipa_argagg_value, va_heap, vl_ptr>*)
        ../../gcc/ipa-cp.cc:2088
0xc6f68d evaluate_properties_for_edge(cgraph_edge*, bool, unsigned int*,
unsigned int*, ipa_auto_call_arg_values*, bool)
        ../../gcc/ipa-fnsummary.cc:668
0xc83842 do_estimate_edge_size(cgraph_edge*)
        ../../gcc/ipa-inline-analysis.cc:335
0xc851ba estimate_edge_size
        ../../gcc/ipa-inline.h:79
0xc851ba estimate_edge_growth
        ../../gcc/ipa-inline.h:100
0xc851ba do_estimate_growth_1
        ../../gcc/ipa-inline-analysis.cc:434
0xc85835 cgraph_node::call_for_symbol_and_aliases(bool (*)(cgraph_node*,
void*), void*, bool)
        ../../gcc/cgraph.h:3416
0xc85835 estimate_growth(cgraph_node*)
        ../../gcc/ipa-inline-analysis.cc:472
0x1b237a8 inline_small_functions
        ../../gcc/ipa-inline.cc:1986
0x1b24151 ipa_inline
        ../../gcc/ipa-inline.cc:2754
0x1b24151 execute
        ../../gcc/ipa-inline.cc:3153

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

end of thread, other threads:[~2023-02-11 14:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 20:06 [Bug c++/108605] New: [13 Regression] ICE in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2089 gscfq@t-online.de
2023-01-30 20:28 ` [Bug ipa/108605] " pinskia at gcc dot gnu.org
2023-01-30 20:34 ` [Bug ipa/108605] [13 Regression] ICE in ipa_push_agg_values_from_jfunc with offsets >= INT_MAX pinskia at gcc dot gnu.org
2023-01-30 20:36 ` pinskia at gcc dot gnu.org
2023-01-31  8:51 ` rguenth at gcc dot gnu.org
2023-02-10 17:39 ` [Bug ipa/108605] [13 Regression] ICE in ipa_push_agg_values_from_jfunc with offsets >= INT_MAX since r13-3359-g656b2338c8f248 jakub at gcc dot gnu.org
2023-02-10 18:26 ` jakub at gcc dot gnu.org
2023-02-11 14:58 ` cvs-commit at gcc dot gnu.org
2023-02-11 14:59 ` jakub 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).