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

--- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #13)
> (In reply to Thiago Macieira from comment #12)
> > Created attachment 34143 [details]
> > Testcase with preprocessed source and Makefiles
> > 
> > Here you go.
> > 
> > I've included two sets of preprocessed sources, as the libstdc++ headers are
> > different in each GCC version.

Another thing, GCC 4.9 may not be able to compile libstdc++ header files
from GCC 5.  You may need to use

#include <xxx>

to include libstdc++ header files if it is the case.

> > However, the error happens with GCC 5 on both sets of preprocessed sources.
> > The GCC 5 preprocessed output is for reference only.
> 
> This testcase isn't very useful since it includes pre-processed GCC
> intrinsic headers which are specific to a particular commit.  You have
> to use the GCC built from the same commit to compile it.  That is why you
> needed 2 sets of header files and it means 2 inputs are DIFFERENT.
> Please provide a testcase which can be compiled with both GCC 4.9
> and GCC 5.  You have to modify your testcase in such a way that those GCC
> intrinsic headers are included with
> 
> #include <x86intrin.h>
> 
> instead of "g++ -E".

Reply via email to