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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
If you build with -fsanitize=undefined you'll see:

algparam.h:204:87: runtime error: reference binding to null pointer of type
'const struct Integer'
algparam.h:217:88: runtime error: reference binding to null pointer of type
'const struct Integer'
algparam.h:220:88: runtime error: reference binding to null pointer of type
'const struct Integer'
crc.cpp:134:28: runtime error: load of misaligned address 0x00000127df9f for
type 'const word32', which requires 4 byte alignment
filters.cpp:280:39: runtime error: null pointer passed as argument 1, which is
declared to never be null
filters.cpp:280:39: runtime error: null pointer passed as argument 2, which is
declared to never be null
filters.cpp:281:50: runtime error: null pointer passed as argument 1, which is
declared to never be null
filters.cpp:281:50: runtime error: null pointer passed as argument 2, which is
declared to never be null
filters.cpp:291:28: runtime error: null pointer passed as argument 1, which is
declared to never be null
filters.cpp:518:84: runtime error: null pointer passed as argument 1, which is
declared to never be null
filters.cpp:518:84: runtime error: null pointer passed as argument 2, which is
declared to never be null
filters.cpp:676:35: runtime error: null pointer passed as argument 2, which is
declared to never be null
misc.cpp:101:29: runtime error: load of misaligned address 0x7ffdab82d529 for
type 'word32', which requires 4 byte alignment
misc.cpp:101:50: runtime error: load of misaligned address 0x00000127df95 for
type 'word32', which requires 4 byte alignment
misc.cpp:26:43: runtime error: load of misaligned address 0x7ffdab82c713 for
type 'word64', which requires 8 byte alignment
misc.cpp:35:43: runtime error: load of misaligned address 0x000003c65c4a for
type 'word32', which requires 4 byte alignment
misc.cpp:56:68: runtime error: store to misaligned address 0x000003c67653 for
type 'word64', which requires 8 byte alignment
misc.cpp:66:67: runtime error: store to misaligned address 0x000003c67651 for
type 'word32', which requires 4 byte alignment
misc.cpp:91:30: runtime error: load of misaligned address 0x7ffdab82d511 for
type 'word64', which requires 8 byte alignment
misc.h:1163:31: runtime error: load of misaligned address 0x00000127d8aa for
type 'const unsigned int', which requires 4 byte alignment
misc.h:1181:2: runtime error: load of misaligned address 0x000003c67669 for
type 'const unsigned int', which requires 4 byte alignment
misc.h:177:26: runtime error: null pointer passed as argument 2, which is
declared to never be null
misc.h:623:22: runtime error: shift exponent 32 is too large for 32-bit type
'unsigned int'
misc.h:635:22: runtime error: shift exponent 32 is too large for 32-bit type
'unsigned int'
misc.h:641:22: runtime error: shift exponent 32 is too large for 32-bit type
'unsigned int'
misc.h:962:23: runtime error: load of misaligned address 0x7ffdab82c702 for
type 'const long long unsigned int', which requires 8 byte alignment
panama.cpp:371:11: runtime error: load of misaligned address 0x7ffdab82c716 for
type 'const word32', which requires 4 byte alignment
panama.cpp:371:18: runtime error: load of misaligned address 0x7ffdab82c71a for
type 'const word32', which requires 4 byte alignment
panama.cpp:371:25: runtime error: load of misaligned address 0x7ffdab82c71e for
type 'const word32', which requires 4 byte alignment
... etc.

Reply via email to