This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/65709] [5 Regression] Bad code for LZ4 decompression with -O3 on x86_64
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Apr 2015 06:34:56 +0000
- Subject: [Bug tree-optimization/65709] [5 Regression] Bad code for LZ4 decompression with -O3 on x86_64
- Auto-submitted: auto-generated
- References: <bug-65709-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65709
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 tmp % gcc -fsanitize=undefined -O3 test.i
markus@x4 tmp % ./a.out sum.lz4
test.c:285:29: runtime error: load of misaligned address 0x7efefb79d001 for
type 'const void', which requires 8 byte alignment
0x7efefb79d001: note: pointer points here
00 00 00 85 7f 45 4c 46 01 02 01 00 01 00 f1 04 02 00 02 00 00 00 01 00 01
0b 98 00 00 00 34 00
^
test.c:200:16: runtime error: load of misaligned address 0x7efefb79d009 for
type 'const void', which requires 2 byte alignment
0x7efefb79d009: note: pointer points here
01 02 01 00 01 00 f1 04 02 00 02 00 00 00 01 00 01 0b 98 00 00 00 34 00 00
91 50 1c 00 f1 00 34
^
test.c:285:27: runtime error: store to misaligned address 0x000001205c31 for
type 'void', which requires 8 byte alignment
0x000001205c31: note: pointer points here
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
^
test.c:285:27: runtime error: store to misaligned address 0x000001205c44 for
type 'void', which requires 8 byte alignment
0x000001205c44: note: pointer points here
00 00 91 50 1c 00 f1 00 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
^
test.c:285:27: runtime error: store to misaligned address 0x000001205c4c for
type 'void', which requires 8 byte alignment
0x000001205c4c: note: pointer points here
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
^
test.c:285:29: runtime error: load of misaligned address 0x000001205c3c for
type 'const void', which requires 8 byte alignment
0x000001205c3c: note: pointer points here
00 01 0b 98 00 00 00 34 00 00 91 50 00 00 00 00 00 34 00 20 00 05 00 28 00
1a 00 17 00 00 00 06
^
test.c:285:29: runtime error: load of misaligned address 0x000001205c44 for
type 'const void', which requires 8 byte alignment
0x000001205c44: note: pointer points here
00 00 91 50 00 00 00 00 00 34 00 20 00 05 00 28 00 1a 00 17 00 00 00 06 00
00 00 34 00 00 91 50
^
test.c:273:25: runtime error: load of misaligned address 0x000001205c62 for
type 'const void', which requires 4 byte alignment
0x000001205c62: note: pointer points here
00 34 00 00 00 00 00 00 04 00 11 05 00 20 00 05 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
^
test.c:273:23: runtime error: store to misaligned address 0x000001205c66 for
type 'void', which requires 4 byte alignment
0x000001205c66: note: pointer points here
00 00 00 00 04 00 11 05 00 20 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
^
test.c:285:27: runtime error: store to misaligned address 0x00000120f177 for
type 'void', which requires 8 byte alignment
0x00000120f177: note: pointer points here
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 81 6e 01 00
00 00 00 00 00 00 00
^