This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Stream out default optimization nodes
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Guenther <rguenther at suse dot de>
- Date: Tue, 18 Nov 2014 18:29:43 +0100
- Subject: Re: Stream out default optimization nodes
- Authentication-results: sourceware.org; auth=none
- References: <20141117183824 dot GA5137 at kam dot mff dot cuni dot cz> <CAMe9rOo-R4bnp2GmzD-kudqXucpq7sXXGzVWXEuMFRWLfrThzQ at mail dot gmail dot com> <20141118172702 dot GA32708 at kam dot mff dot cuni dot cz> <CAMe9rOr5ntdKBwBmZZotrqEbfmbU_PZ0gPdaB+3m12S8NrvyWw at mail dot gmail dot com>
> On Tue, Nov 18, 2014 at 9:27 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
> >> https://gcc.gnu.org/ml/gcc-regression/2014-11/msg00473.html
> >>
> >> /export/gnu/import/git/gcc-test-profiled/bld/./prev-gcc/xg++
> >> -B/export/gnu/import/git/gcc-test-profiled/bld/./prev-gcc/
> >> -B/usr/5.0.0/x86_64-unknown-linux-gnu/bin/ -nostdinc++
> >> -B/export/gnu/import/git/gcc-test-profiled/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
> >> -B/export/gnu/import/git/gcc-test-profiled/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
> >> -I/export/gnu/import/git/gcc-test-profiled/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
> >> -I/export/gnu/import/git/gcc-test-profiled/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
> >> -I/export/gnu/import/git/gcc-test-profiled/src-trunk/libstdc++-v3/libsupc++
> >> -L/export/gnu/import/git/gcc-test-profiled/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
> >> -L/export/gnu/import/git/gcc-test-profiled/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
> >> -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-use -DIN_GCC
> >> -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
> >> -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
> >> -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
> >> -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE
> >> -static-libstdc++ -static-libgcc -o build/genmatch \
> >> build/genmatch.o ../libcpp/libcpp.a ../libiberty/libiberty.a
> >> build/errors.o build/vec.o build/hash-table.o
> >> .././libiberty/libiberty.a
> >> ../../src-trunk/libcpp/lex.c: In function âend_directiveâ:
> >> ../../src-trunk/libcpp/lex.c:442:43: error:
> >> â__builtin_ia32_pcmpestri128â needs isa option -m32 -msse4.2
> >> index = __builtin_ia32_pcmpestri128 (search, 4, sv, 16, 0);
> >> ^
> >> make[7]: *** [/tmp/ccTC6Hk9.ltrans9.ltrans.o] Error 1
> >
> > Indeed, it looks like the bug is that search_line_sse42 gets inlined int
> > end_directive that is compiled w/o SSE support. Probably something that
> > happened previously, too, just led to compiling the function with
> > SSE4.2
> >
> > I will need to setup -m32 LTO bootstrap enviornment...
> >
>
> This is -m64 LTO, not -m32.
OK then the message seems bogus, too. I will try to reproduce it.
Honza
>
>
> --
> H.J.