public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/97880] New: [9/10/11 Regression] ICE in emit_library_call_value_1, at calls.c:5298
@ 2020-11-17 17:45 gscfq@t-online.de
  2020-11-18  8:19 ` [Bug c/97880] [8/9/10/11 " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gscfq@t-online.de @ 2020-11-17 17:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97880
           Summary: [9/10/11 Regression] ICE in emit_library_call_value_1,
                    at calls.c:5298
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

With option -ftrapv at -O0, down to version r7 :


$ cat z1.c
void f ()
{
  #pragma acc parallel loop tile(2, 3)
  for (int i = 0; i < 8; i++)
    for (long j = 0; j < 8; j++);
}


$ gcc-6 -c z1.c -fopenacc -ftrapv -O0
$
$ gcc-11-20201115 -c z1.c -fopenacc
$ gcc-11-20201115 -c z1.c -fopenacc -ftrapv -O1
$
$ gcc-11-20201115 -c z1.c -fopenacc -ftrapv -O0
during RTL pass: expand
z1.c: In function 'f._omp_fn.0':
z1.c:3:11: internal compiler error: in emit_library_call_value_1, at
calls.c:5298
    3 |   #pragma acc parallel loop tile(2, 3)
      |           ^~~
0x7304a0 emit_library_call_value_1(int, rtx_def*, rtx_def*, libcall_type,
machine_mode, int, std::pair<rtx_def*, machine_mode>*)
        ../../gcc/calls.c:5296
0xa3b4c8 emit_library_call_value(rtx_def*, rtx_def*, libcall_type,
machine_mode, rtx_def*, machine_mode, rtx_def*, machine_mode)
        ../../gcc/rtl.h:4258
0xa3b4c8 expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*,
int, optab_methods)
        ../../gcc/optabs.c:1837
0x83bd01 expand_mult(machine_mode, rtx_def*, rtx_def*, rtx_def*, int, bool)
        ../../gcc/expmed.c:3571
0x858a04 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc/expr.c:9175
0x74af02 expand_gimple_stmt_1
        ../../gcc/cfgexpand.c:3816
0x74af02 expand_gimple_stmt
        ../../gcc/cfgexpand.c:3877
0x74fb37 expand_gimple_basic_block
        ../../gcc/cfgexpand.c:5918
0x75219e execute
        ../../gcc/cfgexpand.c:6602

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

end of thread, other threads:[~2021-04-19 10:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17 17:45 [Bug c/97880] New: [9/10/11 Regression] ICE in emit_library_call_value_1, at calls.c:5298 gscfq@t-online.de
2020-11-18  8:19 ` [Bug c/97880] [8/9/10/11 " rguenth at gcc dot gnu.org
2020-11-18  8:32 ` marxin at gcc dot gnu.org
2020-11-18 17:08 ` burnus at gcc dot gnu.org
2020-11-19  9:40 ` [Bug c/97880] [8/9/10/11 Regression] [OpenACC] " burnus at gcc dot gnu.org
2020-11-27 10:21 ` cvs-commit at gcc dot gnu.org
2021-01-14  9:40 ` [Bug c/97880] [8/9/10 " rguenth at gcc dot gnu.org
2021-04-19 10:37 ` cvs-commit at gcc dot gnu.org
2021-04-19 10:43 ` burnus 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).