This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/70925] Vectorized loop segfaults: read exceeds vector boundary


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Looks invalid:

libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:117: runtime error: store to
misaligned address 0x0000022081ec for type 'double', which requires 8 byte
alignment
0x0000022081ec: note: pointer points here
  01 01 01 01 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
              ^ 
libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:287: runtime error: store to
misaligned address 0x000002208692 for type 'struct Coord', which requires 4
byte alignment
0x000002208692: note: pointer points here
 00 e8  88 40 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
              ^ 
libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:113: runtime error: store to
misaligned address 0x00000220876a for type 'struct CoordBox', which requires 4
byte alignment
0x00000220876a: note: pointer points here
 05 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
              ^ 
libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:120: runtime error: store to
misaligned address 0x00000220891a for type 'unsigned int', which requires 4
byte alignment
0x00000220891a: note: pointer points here
 0a 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
              ^ 
libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:117: runtime error: load of
misaligned address 0x0000022081ec for type 'const double', which requires 8
byte alignment
0x0000022081ec: note: pointer points here
  01 01 01 01 00 00 00 00  00 c0 7b 40 00 00 00 00  00 d0 7b 40 00 00 00 00  00
e0 7b 40 00 00 00 00
              ^ 
libgeodecomp4/src/libgeodecomp/misc/testcell.h:435:38: runtime error: reference
binding to misaligned address 0x000002208692 for type 'const struct Coord',
which requires 4 byte alignment
0x000002208692: note: pointer points here
 00 e8  88 40 02 00 00 00 05 00  00 00 05 00 00 00 03 00  00 00 05 00 00 00 05
00  00 00 04 00 00 00
              ^ 
libgeodecomp4/src/libgeodecomp/misc/testcell.h:435:20: runtime error: load of
misaligned address 0x000002208692 for type 'const struct Coord', which requires
4 byte alignment
0x000002208692: note: pointer points here
 00 e8  88 40 02 00 00 00 05 00  00 00 05 00 00 00 03 00  00 00 05 00 00 00 05
00  00 00 04 00 00 00
              ^ 
libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:118: runtime error:
reference binding to misaligned address 0x00000220876a for type 'const struct
CoordBox', which requires 4 byte alignment
0x00000220876a: note: pointer points here
 05 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 1e 00  00 00 14 00 00 00 0a
00  00 00 00 00 00 00
              ^ 
libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:93: runtime error: load of
misaligned address 0x00000220876a for type 'const struct CoordBox', which
requires 4 byte alignment
0x00000220876a: note: pointer points here
 05 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 1e 00  00 00 14 00 00 00 0a
00  00 00 00 00 00 00
              ^ 
libgeodecomp4/src/libgeodecomp/misc/testcell.h:415:120: runtime error: load of
misaligned address 0x00000220891a for type 'const unsigned int', which requires
4 byte alignment
0x00000220891a: note: pointer points here

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]