When compiling in gentoo libva, it triggered a warning about a possible 
undefined behavior in a loop. Maybe it is caused by the CXXFLAGS I am using, 
but anyway it is worth looking at.

The warning I got was:  

* /var/tmp/portage/x11-
libs/libva-1.4.1/work/libva-1.4.1/va/x11/va_dricommon.c:90:46: warning: 
iteration 31u invokes undefined behavior [-Waggressive-loop-optimizations]

The CFLAGS I am using: 

GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -
floop-block -ftree-vectorize"
CFLAGS="-march=native -O2 -pipe ${GRAPHITE}"

Using gcc 4.9.2

Thanks for looking into it.

David.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Libva mailing list
Libva@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to