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

--- Comment #2 from Thomas Petazzoni <thomas.petazz...@free-electrons.com> ---
This still happens with gcc 6.1. With gcc 6.1:

 - The file can be built with no optimization, with and without -fPIC
 - The file can be built in -O2 or -O3 without -fPIC
 - The compiler aborts when either -O2 or -O3 is used in combination with -fPIC

I will attach an updated version of the pre-processed file, which can be used
with gcc 6. The previous version of flann was causing some unrelated build
failures with gcc 6.

Reply via email to