public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/107308] New: ICE in expand_fn_using_insn, at internal-fn.cc:153
@ 2022-10-18 17:45 gscfq@t-online.de
  2022-10-19  6:51 ` [Bug c/107308] " marxin at gcc dot gnu.org
  2022-10-19  7:23 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: gscfq@t-online.de @ 2022-10-18 17:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107308
           Summary: ICE in expand_fn_using_insn, at internal-fn.cc:153
           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 with r9 and file gcc.dg/gimplefe-26.c :


$ gcc-13-20221016 -c gimplefe-26.c -fgimple
during RTL pass: expand
gimplefe-26.c: In function 'foo_1':
gimplefe-26.c:5:18: internal compiler error: in expand_fn_using_insn, at
internal-fn.cc:153
    5 | type __GIMPLE () foo_##num (type a, type b, type c) \
      |                  ^~~~
gimplefe-26.c:12:1: note: in expansion of macro 'foo'
   12 | foo(float, 1)
      | ^~~
0xbe62ff expand_fn_using_insn
        ../../gcc/internal-fn.cc:153
0x960647 expand_call_stmt
        ../../gcc/cfgexpand.cc:2737
0x960647 expand_gimple_stmt_1
        ../../gcc/cfgexpand.cc:3880
0x960647 expand_gimple_stmt
        ../../gcc/cfgexpand.cc:4044
0x967def expand_gimple_basic_block
        ../../gcc/cfgexpand.cc:6096
0x96a446 execute
        ../../gcc/cfgexpand.cc:6822

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

* [Bug c/107308] ICE in expand_fn_using_insn, at internal-fn.cc:153
  2022-10-18 17:45 [Bug c/107308] New: ICE in expand_fn_using_insn, at internal-fn.cc:153 gscfq@t-online.de
@ 2022-10-19  6:51 ` marxin at gcc dot gnu.org
  2022-10-19  7:23 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-10-19  6:51 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |richard.sandiford at arm dot com

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r9-393-gc566cc9f7847785b.

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

* [Bug c/107308] ICE in expand_fn_using_insn, at internal-fn.cc:153
  2022-10-18 17:45 [Bug c/107308] New: ICE in expand_fn_using_insn, at internal-fn.cc:153 gscfq@t-online.de
  2022-10-19  6:51 ` [Bug c/107308] " marxin at gcc dot gnu.org
@ 2022-10-19  7:23 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-10-19  7:23 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |101057
           Keywords|                            |accepts-invalid

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
The test is unsupported so the input is invalid if the target doesn't support
.FMA

Difficult to validate.

You'll find gazillion -fgimple "bugs" like this, but it isn't really the goal
to provide full input validation.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101057
[Bug 101057] [gimplefe] GIMPLE frontend issues

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

end of thread, other threads:[~2022-10-19  7:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18 17:45 [Bug c/107308] New: ICE in expand_fn_using_insn, at internal-fn.cc:153 gscfq@t-online.de
2022-10-19  6:51 ` [Bug c/107308] " marxin at gcc dot gnu.org
2022-10-19  7:23 ` rguenth 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).