[Bug c++/71741] The program works 3 times slower compiled with g++ 5.3.1 than the same program compiled with g++ 4.8.4 with the same command (i7-5820 Haswell)

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 3 21:25:00 GMT 2016


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I've just tried to reproduce the problem, however using the attached Makefile
does not work for me:

find: ‘./src’: No such file or directory
find: ‘./src’: No such file or directory
g++ -std=c++11 -Wall -O3 -save-temps main.cpp  -iquote. -o bin/inclined -lgsl
-lgslcblas -lm -ltinyxml -L/usr/local/lib
make: *** No rule to make target 'test/perf/openmp_test.o', needed by
'bin/openmp_test'.  Stop.
make: *** Waiting for unfinished jobs....
g++: error: main.cpp: No such file or directory

I'm also to assemble the final binary with:
$ g++ -std=c++11 -Wall -O3 -save-temps main.ii Well.ii WellFlow.ii
InclinedSum.ii  -iquote. -o inclined -lgsl -lgslcblas -lm -ltinyxml
-L/usr/local/lib

but I'm unable to execute the binary as I'm probably missing input or an
argument?

$ ./inclined 
terminate called after throwing an instance of 'char const*'
Aborted (core dumped)


More information about the Gcc-bugs mailing list