This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61121] -ftree-parallelize-loops=n (n as value) not accepted in 4.9.0
- From: "jmichae3 at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 May 2014 23:52:35 +0000
- Subject: [Bug c++/61121] -ftree-parallelize-loops=n (n as value) not accepted in 4.9.0
- Auto-submitted: auto-generated
- References: <bug-61121-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61121
--- Comment #1 from Jim Michaels <jmichae3 at yahoo dot com> ---
g++.exe: error: argument to '-ftree-parallelize-loops=' should be a
non-negative integer
Using built-in specs.
COLLECT_GCC=f:\x86_64-4.9.0-release-win32-sjlj-rt_v3-rev1\mingw64\bin\g++.exe
COLLECT_LTO_WRAPPER=f:/x86_64-4.9.0-release-win32-sjlj-rt_v3-rev1/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.0/lto-wrapper.ex
e
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-4.9.0/configure --host=x86_64-w64-mingw32
--build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 -
-prefix=/mingw64
--with-sysroot=/c/mingw490/x86_64-490-win32-sjlj-rt_v3-rev1/mingw64
--with-gxx-include-dir=/mingw64/x86_64-w64-ming
w32/include/c++ --enable-shared --enable-static --enable-targets=all
--enable-multilib --enable-languages=ada,c,c++,fortran,objc,obj
-c++,lto --enable-libstdcxx-time=yes --enable-threads=win32 --enable-libgomp
--enable-libatomic --enable-lto --enable-graphite --ena
ble-checking=release --enable-fully-dynamic-string
--enable-version-specific-runtime-libs --enable-sjlj-exceptions
--disable-isl-ver
sion-check --disable-cloog-version-check --disable-libstdcxx-pch
--disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disa
ble-win32-registry --disable-nls --disable-werror --disable-symvers
--with-gnu-as --with-gnu-ld --with-arch-32=i686 --with-arch-64=n
ocona --with-tune-32=generic --with-tune-64=core2 --with-libiconv
--with-system-zlib --with-gmp=/c/mingw490/prerequisites/x86_64-w64
-mingw32-static --with-mpfr=/c/mingw490/prerequisites/x86_64-w64-mingw32-static
--with-mpc=/c/mingw490/prerequisites/x86_64-w64-ming
w32-static --with-isl=/c/mingw490/prerequisites/x86_64-w64-mingw32-static
--with-cloog=/c/mingw490/prerequisites/x86_64-w64-mingw32-
static --enable-cloog-backend=isl --with-pkgversion='x86_64-win32-sjlj-rev1,
Built by MinGW-W64 project' --with-bugurl=http://source
forge.net/projects/mingw-w64 CFLAGS='-O2 -pipe
-I/c/mingw490/x86_64-490-win32-sjlj-rt_v3-rev1/mingw64/opt/include
-I/c/mingw490/prer
equisites/x86_64-zlib-static/include
-I/c/mingw490/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2
-pipe -I/c/mingw49
0/x86_64-490-win32-sjlj-rt_v3-rev1/mingw64/opt/include
-I/c/mingw490/prerequisites/x86_64-zlib-static/include -I/c/mingw490/prerequi
sites/x86_64-w64-mingw32-static/include' CPPFLAGS= LDFLAGS='-pipe
-L/c/mingw490/x86_64-490-win32-sjlj-rt_v3-rev1/mingw64/opt/lib -L/
c/mingw490/prerequisites/x86_64-zlib-static/lib
-L/c/mingw490/prerequisites/x86_64-w64-mingw32-static/lib'
Thread model: win32
gcc version 4.9.0 (x86_64-win32-sjlj-rev1, Built by MinGW-W64 project)
this is mingw-w64 "mingw" build.
source code is
#include <string>
#include <iostream>
int main(void) {
std::string searchIn="abc(<a href=\"def.html\">def</a>", searchFor="<a
href=\"",equals="=";
size_t posOpenElement=searchIn.find(searchFor); //should be 4
std::cout<<"posOpenElement="<<posOpenElement<<", should be 4"<<std::endl;
if (std::string::npos!=posOpenElement) {
size_t posEquals=searchIn.find(equals,posOpenElement +
searchFor.size());//should fail
std::cout<<"posEquals="<<posEquals<<", should be huge number
(-1)"<<std::endl;
}
return 0;
}
but it has no loops except for the stuff internal to the compiler.