public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/100661] New: [11/12 Regression] ICE in refs_may_alias_p_2, at tree-ssa-alias.c:2460
@ 2021-05-18 17:48 gscfq@t-online.de
  2021-05-19  8:01 ` [Bug c/100661] [11/12 Regression] ICE in omp-low.c / " rguenth at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: gscfq@t-online.de @ 2021-05-18 17:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100661
           Summary: [11/12 Regression] ICE in refs_may_alias_p_2, at
                    tree-ssa-alias.c:2460
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20201018 and 20201108 :


$ cat z1.c
void f (char **x)
{
  #pragma omp parallel for
  for (int i = 0; i < 16; i++)
    {
      char c[50];
      __builtin_strcpy (c, x[i]);
      int g (char)
      {
        __builtin_strcat (c, "foo");
      }
    }
}


$ gcc-11-20201018 -c z1.c -O2 -fopenmp
z1.c: In function 'g':
z1.c:8:14: error: parameter name omitted
    8 |       int g (char)
      |              ^~~~


$ gcc-12-20210516 -c z1.c -O2 -fopenmp
during GIMPLE pass: fre
z1.c: In function 'f._omp_fn.0':
z1.c:13:1: internal compiler error: in refs_may_alias_p_2, at
tree-ssa-alias.c:2460
   13 | }
      | ^
0xc40fa0 refs_may_alias_p_2
        ../../gcc/tree-ssa-alias.c:2460
0xc40fa0 refs_may_alias_p_1(ao_ref*, ao_ref*, bool)
        ../../gcc/tree-ssa-alias.c:2469
0xc4196d check_fnspec
        ../../gcc/tree-ssa-alias.c:2677
0xc41c30 call_may_clobber_ref_p_1(gcall*, ao_ref*, bool)
        ../../gcc/tree-ssa-alias.c:3051
0xc4293e stmt_may_clobber_ref_p_1(gimple*, ao_ref*, bool)
        ../../gcc/tree-ssa-alias.c:3127
0xc42b66 maybe_skip_until
        ../../gcc/tree-ssa-alias.c:3524
0xc42b66 get_continuation_for_phi(gimple*, ao_ref*, bool, unsigned int&,
bitmap_head**, bool, void* (*)(ao_ref*, tree_node*, void*, translate_flags*),
void*, translate_flags)
        ../../gcc/tree-ssa-alias.c:3601
0xc42f18 walk_non_aliased_vuses(ao_ref*, tree_node*, bool, void* (*)(ao_ref*,
tree_node*, void*), void* (*)(ao_ref*, tree_node*, void*, translate_flags*),
tree_node* (*)(tree_node*), unsigned int&, void*)
        ../../gcc/tree-ssa-alias.c:3690
0xcf4b96 vn_reference_lookup(tree_node*, tree_node*, vn_lookup_kind,
vn_reference_s**, bool, tree_node**, tree_node*)
        ../../gcc/tree-ssa-sccvn.c:3614
0xcfabc4 visit_reference_op_load
        ../../gcc/tree-ssa-sccvn.c:5063
0xcfabc4 visit_stmt
        ../../gcc/tree-ssa-sccvn.c:5503
0xcfb67b process_bb
        ../../gcc/tree-ssa-sccvn.c:7203
0xcfd0b8 do_rpo_vn
        ../../gcc/tree-ssa-sccvn.c:7688
0xcfda5f execute
        ../../gcc/tree-ssa-sccvn.c:7956

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

end of thread, other threads:[~2024-04-02  5:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 17:48 [Bug c/100661] New: [11/12 Regression] ICE in refs_may_alias_p_2, at tree-ssa-alias.c:2460 gscfq@t-online.de
2021-05-19  8:01 ` [Bug c/100661] [11/12 Regression] ICE in omp-low.c / " rguenth at gcc dot gnu.org
2021-05-19 12:15 ` marxin at gcc dot gnu.org
2021-05-20 16:33 ` jakub at gcc dot gnu.org
2021-07-28  7:07 ` rguenth at gcc dot gnu.org
2022-01-20 13:41 ` rguenth at gcc dot gnu.org
2022-01-20 13:43 ` rguenth at gcc dot gnu.org
2022-01-20 13:48 ` jakub at gcc dot gnu.org
2022-03-23  8:36 ` [Bug c/100661] ICE in omp-low.c / refs_may_alias_p_2, at tree-ssa-alias.c:2460 with nested function in OMP region rguenth at gcc dot gnu.org
2024-04-02  5:47 ` pinskia 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).