public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/111092] New: ice expand_fn_using_insn, at internal-fn.cc:214
@ 2023-08-21 16:34 dcb314 at hotmail dot com
2023-08-21 16:35 ` [Bug c/111092] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: dcb314 at hotmail dot com @ 2023-08-21 16:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111092
Bug ID: 111092
Summary: ice expand_fn_using_insn, at internal-fn.cc:214
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
For this C code:
typedef struct {
long r;
long c
} bool_mat_struct;
bool_mat_struct bool_mat_randtest_diagonal_mat;
bool_mat_randtest_diagonal_n;
bool_mat_randtest_diagonal() {
bool_mat_randtest_diagonal_n =
bool_mat_randtest_diagonal_mat.r > bool_mat_randtest_diagonal_mat.c
? bool_mat_randtest_diagonal_mat.c
: bool_mat_randtest_diagonal_mat.r;
}
compiled by recent gcc and compiler flags -O3 -march=znver2, does this:
$ /home/dcb38/gcc/results.20230817.asan.ubsan/bin/gcc -c -w -O3 -march=znver2
bug948B.c
$ /home/dcb38/gcc/results.20230818.asan.ubsan/bin/gcc -c -w -O3 -march=znver2
bug948B.c
during RTL pass: expand
bug948B.c: In function ‘bool_mat_randtest_diagonal’:
bug948B.c:7:1: internal compiler error: in expand_fn_using_insn, at
internal-fn.cc:214
7 | bool_mat_randtest_diagonal() {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
0xb33633 expand_fn_using_insn(gcall*, insn_code, unsigned int, unsigned int)
../../trunk.year/gcc/internal-fn.cc:214
0x8af481 expand_call_stmt(gcall*)
../../trunk.year/gcc/cfgexpand.cc:2737
Git range is g:93f803d53b5ccaab to g:68f7cb6cf9e8b9f2, some 39 commits.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/111092] ice expand_fn_using_insn, at internal-fn.cc:214
2023-08-21 16:34 [Bug c/111092] New: ice expand_fn_using_insn, at internal-fn.cc:214 dcb314 at hotmail dot com
@ 2023-08-21 16:35 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-21 16:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111092
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed a few hours ago.
*** This bug has been marked as a duplicate of bug 111082 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-21 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-21 16:34 [Bug c/111092] New: ice expand_fn_using_insn, at internal-fn.cc:214 dcb314 at hotmail dot com
2023-08-21 16:35 ` [Bug c/111092] " 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).