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 fortran/34006] vectorization with 64-bit integers



------- Comment #1 from kargl at gcc dot gnu dot org  2007-11-06 17:45 -------
Works for me on trunk.  Doesn't work in 4.2.  

troutmask:sgk[217] gfc4x -o z -O2 -ftree-vectorize -fdefault-integer-8 z.f
troutmask:sgk[218] ./z
1 2 4 7 11 16 22 29 37 46
troutmask:sgk[219] gfc4x -o z -O2 -ftree-vectorize z.f
troutmask:sgk[220] ./z
1 2 4 7 11 16 22 29 37 46
troutmask:sgk[221] gfc -o z -O2 -ftree-vectorize z.f
troutmask:sgk[222] ./z
1 2 4 7 11 16 22 29 37 46
troutmask:sgk[223] gfc -o z -O2 -ftree-vectorize -fdefault-integer-8 z.f
troutmask:sgk[224] ./z
1 2 4 140737488348667 140737488348671 5 11 8601384231 8601384239 9

IMHO, one should avoid -fdefault-integer-8 because it typically doesn't
do what one thinks!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34006


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