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 tree-optimization/63379] Incorrect vectorization when enabling SSE and O3, initialises loop with wrong value


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

--- Comment #1 from Jason Wyatt <jwyatt at feralinteractive dot com> ---
Created attachment 33580
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33580&action=edit
Test case

Compiling this code and running it gives the following output:
Point 0,1000
Point 1,1001
Point 2,1002
Point 3,1003
Point 4,1004
Point 5,1005
Point 6,1006
Point 7,1007
Point 8,1008
Point 9,1009
Point 10,1010
Point 11,1011
Point 12,1012
Point 13,1013
Point 14,1014
Point 15,1015
Point 16,1016
Point 17,1017
Point 18,1018
Point 19,1019
Point 20,1020
Point 21,1021
Point 22,1022
Point 23,1023
Point 24,1024
Size: 25
25, 0, 0 <-------This value should be 1000 (minimum y value)
Point 0,1000
Point 1,1001
Point 2,1002
Point 3,1003
Point 4,1004
Point 5,1005
Point 6,1006
Point 7,1007
Point 8,1008
Point 9,1009
Point 10,1010
Point 11,1011
Point 12,1012
Point 13,1013
Point 14,1014
Point 15,1015
Point 16,1016
Point 17,1017
Point 18,1018
Point 19,1019
Point 20,1020
Point 21,1021
Point 22,1022
Point 23,1023
Point 24,1024


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