From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1904 invoked by alias); 29 Jun 2012 22:08:26 -0000 Received: (qmail 1894 invoked by uid 22791); 29 Jun 2012 22:08:24 -0000 X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_TM 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, 29 Jun 2012 22:08:11 +0000 From: "0ezpz0 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53812] New: lower_stmt (4.6), verify_gimple_stmt (4.7.0, 4.7.1) Date: Fri, 29 Jun 2012 22:08: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: 0ezpz0 at gmail dot com 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-06/txt/msg01995.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53812 Bug #: 53812 Summary: lower_stmt (4.6), verify_gimple_stmt (4.7.0, 4.7.1) Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: 0ezpz0@gmail.com Created attachment 27719 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D27719 preprocessed source The attached code causes internal compiler error for 4.6.3, 4.7.0, and 4.7.= 1. Same reported location as #53356 but happening in 4.7.1.=20 I was unable to reduce to a smaller example that would still expose the problem. Here is the full output of g++ -v -save-temps (for g++-4.7.1) Using built-in specs. COLLECT_GCC=3Dg++-4.7.1 COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1= /lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ./configure Thread model: posix gcc version 4.7.1 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64' /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/cc1plus -E -quiet -v -D_GNU_SOURCE t.cc -mtune=3Dgeneric -march=3Dx86-64 -fpch-preprocess -o t.ii ignoring nonexistent directory "/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unkno= wn-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../include/c++/4= .7.1 /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../include/c++/4= .7.1/x86_64-unknown-linux-gnu /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../include/c++/4= .7.1/backward /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/include /usr/local/include /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/include-fixed /usr/include End of search list. COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64' /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/cc1plus -fpreprocess= ed t.ii -quiet -dumpbase t.cc -mtune=3Dgeneric -march=3Dx86-64 -auxbase t -ver= sion -o t.s GNU C++ (GCC) version 4.7.1 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.7.1, GMP version 5.0.5, MPFR version 3.1.0,= MPC version 0.9 warning: GMP header version 5.0.5 differs from library version 5.0.2. warning: MPFR header version 3.1.0 differs from library version 3.1.0-p3. GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++ (GCC) version 4.7.1 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.7.1, GMP version 5.0.5, MPFR version 3.1.0,= MPC version 0.9 warning: GMP header version 5.0.5 differs from library version 5.0.2. warning: MPFR header version 3.1.0 differs from library version 3.1.0-p3. GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: a7151d2778777271784da9f36a49699e t.cc: In member function =E2=80=98long int Processor::execute(Program&)=E2= =80=99: t.cc:41:10: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4= 258 Please submit a full bug report, with preprocessed source if appropriate. See for instructions.