public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/102587] New: ICE in tree_to_uhwi, at tree.h:4668
@ 2021-10-04  7:33 marxin at gcc dot gnu.org
  2021-10-04  7:34 ` [Bug tree-optimization/102587] " marxin at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-10-04  7:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102587
           Summary: ICE in tree_to_uhwi, at tree.h:4668
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: qing.zhao at oracle dot com
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: aarch64-linux-gnu

The following fails:

$ cat sve.c
void foo() { __SVFloat64_t f64; }

$ aarch64-linux-gnu-gcc sve.c -ftrivial-auto-var-init=zero -c
during RTL pass: expand
sve.c: In function ‘foo’:
sve.c:1:28: internal compiler error: in tree_to_uhwi, at tree.h:4668
    1 | void foo() { __SVFloat64_t f64; }
      |                            ^~~
0x69b87a tree_to_uhwi(tree_node const*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/tree.h:4668
0x69b87a expand_DEFERRED_INIT
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/internal-fn.c:3044
0x7f2957 expand_call_stmt
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/cfgexpand.c:2749
0x7f2957 expand_gimple_stmt_1
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/cfgexpand.c:3876
0x7f2957 expand_gimple_stmt
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/cfgexpand.c:4040
0x7f74b2 expand_gimple_basic_block
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/cfgexpand.c:6082
0x7f9306 execute
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/cfgexpand.c:6808
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2023-08-10  8:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04  7:33 [Bug tree-optimization/102587] New: ICE in tree_to_uhwi, at tree.h:4668 marxin at gcc dot gnu.org
2021-10-04  7:34 ` [Bug tree-optimization/102587] " marxin at gcc dot gnu.org
2021-10-04  8:01 ` rguenth at gcc dot gnu.org
2021-10-04  8:57 ` cvs-commit at gcc dot gnu.org
2021-10-04  9:05 ` rguenth at gcc dot gnu.org
2021-10-04  9:05 ` rguenth at gcc dot gnu.org
2021-10-04 12:11 ` rsandifo at gcc dot gnu.org
2021-10-04 17:10 ` qinzhao at gcc dot gnu.org
2021-10-05  8:36 ` cvs-commit at gcc dot gnu.org
2021-10-05  8:48 ` rguenth at gcc dot gnu.org
2021-10-14  7:27 ` pinskia at gcc dot gnu.org
2022-05-06  8:31 ` jakub at gcc dot gnu.org
2023-05-08 12:22 ` rguenth at gcc dot gnu.org
2023-08-10  8:58 ` 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).