[Bug c++/64914] New: With -g3: libiberty/md5.c:336:7: runtime error: load of misaligned address for type 'const md5_uint32', which requires 4 byte alignment

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 3 10:43:00 GMT 2015


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

            Bug ID: 64914
           Summary: With -g3: libiberty/md5.c:336:7: runtime error: load
                    of misaligned address  for type 'const md5_uint32',
                    which requires 4 byte alignment
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
            Blocks: 63426

Created attachment 34649
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34649&action=edit
test.ii - compile with "g++ -g3" (UBSAN GCC build)

That's with a --with-build-config=bootstrap-ubsan GCC build.

Compiling a program with "g++ -g3" leads to the ICE:

../../libiberty/md5.c:336:7: runtime error: load of misaligned address
0x7fe74964c553 for type 'const md5_uint32', which requires 4 byte alignment


(If you prefer an .ii file, remove the



More information about the Gcc-bugs mailing list