public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/100250] New: ICE related to -Wmaybe-uninitialized
@ 2021-04-24 20:44 muecker at gwdg dot de
  2021-04-26  7:26 ` [Bug tree-optimization/100250] [11/12 Regression] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: muecker at gwdg dot de @ 2021-04-24 20:44 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100250
           Summary: ICE related to -Wmaybe-uninitialized
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: muecker at gwdg dot de
  Target Milestone: ---

Created attachment 50670
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50670&action=edit
minimized test case

(possibly also affects 11.0)

xgcc (GCC) 12.0.0 20210424 (experimental)
bcd77b7b9f35bd5b559ed593c3b3e346c1e6f364



$ ../gcc_build_clean/gcc/xgcc -B../gcc_build_clean/gcc/ -Wmaybe-uninitialized
ice.c
ice.c: In function ‘md_reshape2’:
ice.c:34:9: warning: ‘<unknown>’ may be used uninitialized
[-Wmaybe-uninitialized]
   34 |         md_permute2(D, order, dims2, strs2, idims);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
during GIMPLE pass: *early_warn_uninitialized
ice.c:35:1: internal compiler error: Speicherzugriffsfehler
   35 | }
      | ^
0xe00f3f crash_signal
        ../../gcc/gcc/toplev.c:327
0x7f26a437583f ???
       
/build/glibc-vjB4T1/glibc-2.28/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x80db7c tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc/gcc/tree.h:3352
0x80db7c attr_access::array_as_string[abi:cxx11](tree_node*) const
        ../../gcc/gcc/attribs.c:2391
0x101789d maybe_warn_pass_by_reference
        ../../gcc/gcc/tree-ssa-uninit.c:566
0x101789d warn_uninitialized_vars
        ../../gcc/gcc/tree-ssa-uninit.c:648
0x1017c70 execute_early_warn_uninitialized
        ../../gcc/gcc/tree-ssa-uninit.c:3089
0x1017c70 execute
        ../../gcc/gcc/tree-ssa-uninit.c:3124
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] 11+ messages in thread

end of thread, other threads:[~2021-06-17 20:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-24 20:44 [Bug tree-optimization/100250] New: ICE related to -Wmaybe-uninitialized muecker at gwdg dot de
2021-04-26  7:26 ` [Bug tree-optimization/100250] [11/12 Regression] " rguenth at gcc dot gnu.org
2021-04-26 15:42 ` msebor at gcc dot gnu.org
2021-04-26 15:48 ` msebor at gcc dot gnu.org
2021-04-26 23:31 ` msebor at gcc dot gnu.org
2021-04-29  1:12 ` cvs-commit at gcc dot gnu.org
2021-04-29  1:16 ` [Bug tree-optimization/100250] [11 " msebor at gcc dot gnu.org
2021-06-07 13:25 ` jakub at gcc dot gnu.org
2021-06-16 11:23 ` marxin at gcc dot gnu.org
2021-06-17 20:07 ` cvs-commit at gcc dot gnu.org
2021-06-17 20:09 ` msebor 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).