From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 85AA73858016; Wed, 28 Sep 2022 17:38:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 85AA73858016 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664386722; bh=F3kELVKyqK85KeZJenTudIqqF3bYQJgKiPnJ2oPggBo=; h=From:To:Subject:Date:From; b=WC8nb3FDWed79Sj9Sg7n1raQHZBOKzFmjwnAai8DHFzhSPpWtLeyMEfKwvqL9+dgr 5fyoJLo/bcmWbUD8IJAmvHsuA0FZZBN7JJpzl405S3qtfWIrtaP3s/6h8EGY4b3Em3 t17ed2GUmr1xSIx+xdQYOlIChVkMDDXjQdqx0EJo= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107076] New: ICE in gen_untyped_call, at config/i386/i386.md:15992 Date: Wed, 28 Sep 2022 17:38:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107076 Bug ID: 107076 Summary: ICE in gen_untyped_call, at config/i386/i386.md:15992 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: --- Affects versions down to r6 : $ cat z1.c void *h (); void g (); __attribute__ ((target_clones ("default", "arch=3Dslm"))) void f () { g (__builtin_apply(h(), __builtin_apply_args(), 0)); } $ gcc-13-20220925 -c z1.c during RTL pass: expand z1.c: In function 'f.arch_slm': z1.c:6:3: internal compiler error: Segmentation fault 6 | g (__builtin_apply(h(), __builtin_apply_args(), 0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0xce3e8f crash_signal ../../gcc/toplev.cc:314 0x14a2403 gen_untyped_call(rtx_def*, rtx_def*, rtx_def*) ../../gcc/config/i386/i386.md:15992 0xff0da8 target_gen_untyped_call ../../gcc/config/i386/i386.md:16199 0x860621 expand_builtin_apply ../../gcc/builtins.cc:1750 0x86d346 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) ../../gcc/builtins.cc:7521 0x991cd0 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc/expr.cc:11689 0x99ba63 store_expr(tree_node*, rtx_def*, int, bool, bool) ../../gcc/expr.cc:6155 0x99d06e expand_assignment(tree_node*, tree_node*, bool) ../../gcc/expr.cc:5876 0x88dcc2 expand_call_stmt ../../gcc/cfgexpand.cc:2829 0x88dcc2 expand_gimple_stmt_1 ../../gcc/cfgexpand.cc:3880 0x88dcc2 expand_gimple_stmt ../../gcc/cfgexpand.cc:4044 0x892cf7 expand_gimple_basic_block ../../gcc/cfgexpand.cc:6096 0x8957be execute ../../gcc/cfgexpand.cc:6822=