From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2591 invoked by alias); 13 Apr 2012 08:04:28 -0000 Received: (qmail 2579 invoked by uid 22791); 13 Apr 2012 08:04:26 -0000 X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SUBJ_OBFU_PUNCT_FEW,SUBJ_OBFU_PUNCT_MANY,TW_BF,TW_QS 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; Fri, 13 Apr 2012 08:04:11 +0000 From: "vincenzo.innocente at cern dot ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/52969] New: ICE in in get_expr_operands, at tree-ssa-operands.c:1035 with -ftree-loop-if-convert-stores Date: Fri, 13 Apr 2012 08:04: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-Keywords: X-Bugzilla-Severity: major 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" Content-Transfer-Encoding: quoted-printable 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-04/txt/msg00966.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52969 Bug #: 52969 Summary: ICE in in get_expr_operands, at tree-ssa-operands.c:1035 with -ftree-loop-if-convert-stores Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: vincenzo.innocente@cern.ch Created attachment 27147 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D27147 source code (generated with -E) compiling the attached "real-life" code I get c++ -v -O3 -std=3Dc++0x -ftree-loop-if-convert-stores -c buggy.i Using built-in specs. COLLECT_GCC=3Dc++ COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/x86_64-apple-darwin11.3.0/4.7.= 0/lto-wrapper Target: x86_64-apple-darwin11.3.0 Configured with: ./configure --enable-languages=3Dc,c++,fortran --disable-multilib --disable-bootstrap --enable-lto -disable-libitm Thread model: posix gcc version 4.7.0 20120205 (experimental) (GCC)=20 COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.7.3' '-v' '-O3' '-std=3Dc+= +11' '-ftree-loop-if-convert-stores' '-c' '-shared-libgcc' '-mtune=3Dcore2' /usr/local/libexec/gcc/x86_64-apple-darwin11.3.0/4.7.0/cc1plus -fpreproces= sed buggy.i -fPIC -quiet -dumpbase buggy.i -mmacosx-version-min=3D10.7.3 -mtune= =3Dcore2 -auxbase buggy -O3 -std=3Dc++11 -version -ftree-loop-if-convert-stores -o /var/folders/hd/vml6pgj48xjfkp006s6djxf80000gq/T//ccT2Uqbf.s GNU C++ (GCC) version 4.7.0 20120205 (experimental) (x86_64-apple-darwin11.= 3.0) compiled by GNU C version 4.7.0 20111201 (experimental), GMP version 4.= 3.1, MPFR version 2.4.1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 GNU C++ (GCC) version 4.7.0 20120205 (experimental) (x86_64-apple-darwin11.= 3.0) compiled by GNU C version 4.7.0 20111201 (experimental), GMP version 4.= 3.1, MPFR version 2.4.1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 Compiler executable checksum: 3c7081ac5da07d4d6f6ca789c3e35f66 unhandled expression in get_expr_operands(): unit size align 8 symtab 0 alias set 14 canonical type 0x141b1bb28 precision 1 min max pointer_to_this reference_to_this > arg 0 arg 0 visited var def_stmt maxpix_135 =3D MEM[(struct SiStripTemplate *)templ_76(D) + 40B]; version 135> arg 1 visited var def_stmt D.104278_14= 4 =3D qscale_123 * D.104277_143; version 144> SiStripTemplateReco.cc:160:5> SiStripTemplateReco.cc:160:5> SiStripTemplateReco.cc: In function =E2=80=98int SiStripTemplateReco::StripTempReco1D(int, float, float, float, std::vector&, SiStripTemplate&, float&, float&, float&, int&, int, float&)=E2=80=99: SiStripTemplateReco.cc:79:5: internal compiler error: in get_expr_operands,= at tree-ssa-operands.c:1035 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. pb-d-128-141-131-26:bugs48 innocent$ c++ -v -O3 -std=3Dc++0x -c buggy.i Using built-in specs. COLLECT_GCC=3Dc++ COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/x86_64-apple-darwin11.3.0/4.7.= 0/lto-wrapper Target: x86_64-apple-darwin11.3.0 Configured with: ./configure --enable-languages=3Dc,c++,fortran --disable-multilib --disable-bootstrap --enable-lto -disable-libitm Thread model: posix gcc version 4.7.0 20120205 (experimental) (GCC)=20 COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.7.3' '-v' '-O3' '-std=3Dc+= +11' '-c' '-shared-libgcc' '-mtune=3Dcore2' /usr/local/libexec/gcc/x86_64-apple-darwin11.3.0/4.7.0/cc1plus -fpreproces= sed buggy.i -fPIC -quiet -dumpbase buggy.i -mmacosx-version-min=3D10.7.3 -mtune= =3Dcore2 -auxbase buggy -O3 -std=3Dc++11 -version -o /var/folders/hd/vml6pgj48xjfkp006s6djxf80000gq/T//ccLlzfNR.s GNU C++ (GCC) version 4.7.0 20120205 (experimental) (x86_64-apple-darwin11.= 3.0) compiled by GNU C version 4.7.0 20111201 (experimental), GMP version 4.= 3.1, MPFR version 2.4.1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 GNU C++ (GCC) version 4.7.0 20120205 (experimental) (x86_64-apple-darwin11.= 3.0) compiled by GNU C version 4.7.0 20111201 (experimental), GMP version 4.= 3.1, MPFR version 2.4.1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 Compiler executable checksum: 3c7081ac5da07d4d6f6ca789c3e35f66 COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.7.3' '-v' '-O3' '-std=3Dc+= +11' '-c' '-shared-libgcc' '-mtune=3Dcore2' as -arch x86_64 -force_cpusubtype_ALL -o buggy.o /var/folders/hd/vml6pgj48xjfkp006s6djxf80000gq/T//ccLlzfNR.s COMPILER_PATH=3D/usr/local/libexec/gcc/x86_64-apple-darwin11.3.0/4.7.0/:/us= r/local/libexec/gcc/x86_64-apple-darwin11.3.0/4.7.0/:/usr/local/libexec/gcc= /x86_64-apple-darwin11.3.0/:/usr/local/lib/gcc/x86_64-apple-darwin11.3.0/4.= 7.0/:/usr/local/lib/gcc/x86_64-apple-darwin11.3.0/ LIBRARY_PATH=3D/usr/local/lib/gcc/x86_64-apple-darwin11.3.0/4.7.0/:/usr/loc= al/lib/gcc/x86_64-apple-darwin11.3.0/4.7.0/../../../:/usr/lib/ COLLECT_GCC_OPTIONS=3D'-mmacosx-version-min=3D10.7.3' '-v' '-O3' '-std=3Dc+= +11' '-c' '-shared-libgcc' '-mtune=3Dcore2' same on linux with 4.7.0 c++ -O3 -std=3Dc++0x -ftree-loop-if-convert-stores -c buggy.i -v Using built-in specs. COLLECT_GCC=3D/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0/bin/c++ Target: x86_64-unknown-linux-gnu Configured with: ../configure --prefix=3D/build/da/build-BOOTSTRAP_slc5_amd64_gcc470/b/tmp/BUILDROOT/de8f= 21fa6a50f532872e71e7ff72a173/opt/cmssw/slc5_amd64_gcc470/external/gcc/4.7.0 --disable-multilib --disable-nls --enable-languages=3Dc,c++,fortran --enable-gold=3Dyes --enable-lto --with-gmp=3D/build/da/build-BOOTSTRAP_slc5_amd64_gcc470/b/tmp/BUILDROOT/de= 8f21fa6a50f532872e71e7ff72a173/opt/cmssw/slc5_amd64_gcc470/external/gcc/4.7= .0 --with-mpfr=3D/build/da/build-BOOTSTRAP_slc5_amd64_gcc470/b/tmp/BUILDROOT/d= e8f21fa6a50f532872e71e7ff72a173/opt/cmssw/slc5_amd64_gcc470/external/gcc/4.= 7.0 --with-mpc=3D/build/da/build-BOOTSTRAP_slc5_amd64_gcc470/b/tmp/BUILDROOT/de= 8f21fa6a50f532872e71e7ff72a173/opt/cmssw/slc5_amd64_gcc470/external/gcc/4.7= .0 --with-ppl=3D/build/da/build-BOOTSTRAP_slc5_amd64_gcc470/b/tmp/BUILDROOT/de= 8f21fa6a50f532872e71e7ff72a173/opt/cmssw/slc5_amd64_gcc470/external/gcc/4.7= .0 --with-cloog=3D/build/da/build-BOOTSTRAP_slc5_amd64_gcc470/b/tmp/BUILDROOT/= de8f21fa6a50f532872e71e7ff72a173/opt/cmssw/slc5_amd64_gcc470/external/gcc/4= .7.0 --enable-cloog-backend=3Disl --enable-shared CC=3D'gcc -fPIC' CXX=3D'c++ -f= PIC' CPP=3Dcpp CXXCPP=3D'c++ -E' Thread model: posix gcc version 4.7.0 20120302 (prerelease) (GCC)=20 COLLECT_GCC_OPTIONS=3D'-O3' '-std=3Dc++11' '-ftree-loop-if-convert-stores' = '-c' '-v' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64' /afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0/bin/../libexec/gcc/x8= 6_64-unknown-linux-gnu/4.7.0/cc1plus -fpreprocessed buggy.i -quiet -dumpbase buggy.i -mtune=3Dgeneric -march=3Dx= 86-64 -auxbase buggy -O3 -std=3Dc++11 -version -ftree-loop-if-convert-stores -o /tmp/innocent/ccEsHv8G.s GNU C++ (GCC) version 4.7.0 20120302 (prerelease) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.7.0 20120302 (prerelease), GMP version 5.0.= 2, MPFR version 3.0.1, MPC version 0.9 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++ (GCC) version 4.7.0 20120302 (prerelease) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.7.0 20120302 (prerelease), GMP version 5.0.= 2, MPFR version 3.0.1, MPC version 0.9 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 69c1686c229166b95e41aad94dc9fb81 SiStripTemplateReco.cc: In function 'int SiStripTemplateReco::StripTempReco1D(int, float, float, float, std::vector&, SiStripTemplate&, float&, float&, float&, int&, int, float&)': SiStripTemplateReco.cc:79:5: internal compiler error: in get_expr_operands,= at tree-ssa-operands.c:1035 Please submit a full bug report, with preprocessed source if appropriate.