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 middle-end/79454] [7 Regression] c-c++-common/ubsan/overflow-vec-*.c FAILs on some 64-bit BE targets


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 40712
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40712&action=edit
gcc7-pr79454.patch

Untested fix.  The problem was if the vector type had non-BLKmode, but not
vector mode, like e.g. for the 16xchar vector TImode, we actually performed the
addition to get the result in TImode rather than in V16QImode (not really
supported), or saving the result inside of the loop from each separate
comparison.

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