public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/105094] New: UBSAN in clear_bit_region(unsigned char*, unsigned int, unsigned int) (gimple-ssa-store-merging.cc:1834)
@ 2022-03-29  8:04 marxin at gcc dot gnu.org
  2022-03-29 10:40 ` [Bug tree-optimization/105094] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-03-29  8:04 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105094
           Summary: UBSAN in clear_bit_region(unsigned char*, unsigned
                    int, unsigned int) (gimple-ssa-store-merging.cc:1834)
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

Happens for:

$ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/pr84964.C -O1
-fstore-merging -fpack-struct -ftrivial-auto-var-init=zero
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/pr84964.C:4:9: warning:
width of ‘a::b’ exceeds its type
    4 |   short b : -1ULL;
      |         ^
malloc(): invalid size (unsorted)
malloc(): invalid size (unsorted)
g++: internal compiler error: Aborted signal terminated program cc1plus
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.

Note we emit sorry if I remove any of the options.

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

end of thread, other threads:[~2022-05-10 10:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29  8:04 [Bug tree-optimization/105094] New: UBSAN in clear_bit_region(unsigned char*, unsigned int, unsigned int) (gimple-ssa-store-merging.cc:1834) marxin at gcc dot gnu.org
2022-03-29 10:40 ` [Bug tree-optimization/105094] " jakub at gcc dot gnu.org
2022-03-29 10:44 ` [Bug tree-optimization/105094] [10/11/12 Regression] " jakub at gcc dot gnu.org
2022-03-30  8:21 ` cvs-commit at gcc dot gnu.org
2022-03-30  8:51 ` cvs-commit at gcc dot gnu.org
2022-03-30  8:53 ` [Bug tree-optimization/105094] [10 " jakub at gcc dot gnu.org
2022-05-10  8:25 ` cvs-commit at gcc dot gnu.org
2022-05-10 10:27 ` jakub 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).