From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8744 invoked by alias); 22 May 2012 12:38:01 -0000 Received: (qmail 8629 invoked by uid 22791); 22 May 2012 12:38:00 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 May 2012 12:37:47 +0000 From: "vincenzo.innocente at cern dot ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53451] New: [4.8 regression] ICE verify_gimple failed Date: Tue, 22 May 2012 12:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincenzo.innocente at cern dot ch X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-05/txt/msg02179.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53451 Bug #: 53451 Summary: [4.8 regression] ICE verify_gimple failed Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: vincenzo.innocente@cern.ch requires boost (p.s. last working version of 4.8 for what I'm concerned is revision 187326) cat ice2205.cc #include #include #include struct A { int i; }; bool foo(std::vector const & va, int q) { auto it = std::find_if(va.begin(), va.end(), boost::bind(&A::i, _1) == q); return it != va.end(); } [vocms123] ~/public/ctest/bugs48 $ c++ -v Using built-in specs. COLLECT_GCC=c++ COLLECT_LTO_WRAPPER=/afs/cern.ch/user/i/innocent/w3/gcc47slc5/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-trunk/configure --enable-languages=c,c++,fortran --disable-multilib --enable-gold=yes --disable-nls --enable-lto --with-mpc=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --with-gmp=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --with-mpfr=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --prefix=/afs/cern.ch/user/i/innocent/w3/gcc47slc5 --with-build-time-tools=/build/ge/new-binutils/a/slc5_amd64_gcc470/external/gcc/4.7.0-cms/bin Thread model: posix gcc version 4.8.0 20120522 (experimental) [trunk revision 187760] (GCC) [vocms123] ~/public/ctest/bugs48 $ c++ -std=c++11 -c ice2205.cc -I/build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include In file included from /build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/mem_fn.hpp:22:0, from /build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/bind/bind.hpp:26, from ice2205.cc:3: /build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/bind/mem_fn.hpp: In member function 'const R& boost::_mfi::dm::operator()(const T&) const [with R = int; T = A]': /build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/bind/mem_fn.hpp:362:15: error: invalid types in nop conversion R const & operator()(T const & t) const ^ sizetype <<< Unknown tree: offset_type >>> D.66000 = (sizetype) D.65999; /build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/bind/mem_fn.hpp:362:15: internal compiler error: verify_gimple failed