From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28780 invoked by alias); 20 May 2014 07:29:04 -0000 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 Received: (qmail 28700 invoked by uid 48); 20 May 2014 07:28:58 -0000 From: "vincenzo.innocente at cern dot ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/61245] New: ICE at in expand_ANNOTATE, at internal-fn.c:127 called from cfgexpand.c Date: Tue, 20 May 2014 07:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.0 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-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg01686.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61245 Bug ID: 61245 Summary: ICE at in expand_ANNOTATE, at internal-fn.c:127 called from cfgexpand.c Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: vincenzo.innocente at cern dot ch apologize for not reducing (trivial reduction (bar below) works) given cat NaiveDod.cc #include #include #include unsigned int N; float * a, *b, *c; void bar() { #pragma GCC ivdep for (auto i=0U; i struct SoA { using s_t = unsigned int; using Ind = unsigned int; auto size() const { return m_n;} float & operator()(Ind i, Ind j) { return data[j][i];} float const & operator()(Ind i, Ind j) const { return data[j][i];} std::array,N> data; s_t m_n=0; }; template void doT(SoA & soa) { #pragma GCC ivdep for (auto i=0U; i & soa) { doT(soa); } produces c++ -std=c++1y -Ofast -Wall -fopt-info-vec -fno-tree-slp-vectorize -march=nehalem -S NaiveDod.cc NaiveDod.cc:10:17: note: loop vectorized NaiveDod.cc:10:17: note: loop peeled for vectorization to enhance alignment NaiveDod.cc: In function 'void doIt(SoA<3>&)': NaiveDod.cc:34:17: internal compiler error: in expand_ANNOTATE, at internal-fn.c:127 for (auto i=0U; i for instructions. c++ -v Using built-in specs. COLLECT_GCC=c++ COLLECT_LTO_WRAPPER=/afs/cern.ch/user/i/innocent/w4/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-trunk//configure --prefix=/afs/cern.ch/user/i/innocent/w4 --enable-languages=c,c++,lto,fortran -enable-gold=yes --enable-lto --with-gmp-lib=/usr/local/lib64 --with-mpfr-lib=/usr/local/lib64 -with-mpc-lib=/usr/local/lib64 --enable-cloog-backend=isl --with-cloog=/usr/local --with-ppl-lib=/usr/local/lib64 -enable-libitm -disable-multilib Thread model: posix gcc version 4.10.0 20140520 (experimental) [trunk revision 210630] (GCC)