public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/101534] New: ICE in create_tailcall_accumulator, at tree-tailcall.c:1083
@ 2021-07-20 16:55 gscfq@t-online.de
  2021-07-20 17:47 ` [Bug tree-optimization/101534] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gscfq@t-online.de @ 2021-07-20 16:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101534
           Summary: ICE in create_tailcall_accumulator, at
                    tree-tailcall.c:1083
           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: ---

Affects versions down to at least r5, at -O2+ :


$ cat z1.c
typedef int V __attribute__ ((vector_size (2 * sizeof (int))));
V
foo (void)
{
  V v = { };
  return v - foo();
}


$ gcc-12-20210718 -c z1.c -O1
$
$ gcc-12-20210718 -c z1.c -O2
during GIMPLE pass: tailr
z1.c: In function 'foo':
z1.c:7:1: internal compiler error: in fold_convert_loc, at fold-const.c:2542
    7 | }
      | ^
0xa3ce55 fold_convert_loc(unsigned int, tree_node*, tree_node*)
        ../../gcc/fold-const.c:2542
0x106c4fd create_tailcall_accumulator
        ../../gcc/tree-tailcall.c:1083
0x106ef5e tree_optimize_tail_calls_1
        ../../gcc/tree-tailcall.c:1166

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

end of thread, other threads:[~2021-08-13 22:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 16:55 [Bug c/101534] New: ICE in create_tailcall_accumulator, at tree-tailcall.c:1083 gscfq@t-online.de
2021-07-20 17:47 ` [Bug tree-optimization/101534] " pinskia at gcc dot gnu.org
2021-07-20 18:08 ` pinskia at gcc dot gnu.org
2021-07-20 18:23 ` pinskia at gcc dot gnu.org
2021-07-20 18:36 ` pinskia at gcc dot gnu.org
2021-07-20 22:03 ` pinskia at gcc dot gnu.org
2021-07-21 19:28 ` pinskia at gcc dot gnu.org
2021-07-22 16:17 ` pinskia at gcc dot gnu.org
2021-08-13 22:55 ` [Bug tree-optimization/101534] [12 Regression] " 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).