public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jmichae3 at yahoo dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61121] -ftree-parallelize-loops=n (n as value) not accepted in 4.9.0 Date: Thu, 08 May 2014 23:52:00 -0000 [thread overview] Message-ID: <bug-61121-4-CFNIKopPL2@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61121-4@http.gcc.gnu.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.
next prev parent reply other threads:[~2014-05-08 23:52 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-05-08 23:47 [Bug c++/61121] New: " jmichae3 at yahoo dot com 2014-05-08 23:52 ` jmichae3 at yahoo dot com [this message] 2014-05-08 23:59 ` [Bug c++/61121] " jmichae3 at yahoo dot com 2014-05-09 7:08 ` jakub at gcc dot gnu.org 2014-05-13 19:02 ` jmichae3 at yahoo dot com 2014-06-20 13:21 ` jmichae3 at yahoo dot com 2014-06-20 13:24 ` [Bug c++/61121] -O2 -ftree-parallelize-loops=0 for maximum " jmichae3 at yahoo dot com 2014-06-20 13:57 ` jmichae3 at yahoo dot com 2014-07-10 20:56 ` jmichae3 at yahoo dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-61121-4-CFNIKopPL2@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).