From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19382 invoked by alias); 14 Jun 2014 08:24:11 -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 19365 invoked by uid 48); 14 Jun 2014 08:24:07 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61506] ICE [4.10 Regression] triggered by solution to #61446 Date: Sat, 14 Jun 2014 08:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: juergen.reuter at desy dot de 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg01262.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61506 --- Comment #2 from J=C3=BCrgen Reuter --- This is the remark what I got from Andy Buckley: "Line 29 of PDF.cc is the end of the file, which suggests to me an unclosed scope or similar higher up. The reported errors are entirely from within Boost itself -- and there aren't even any direct Boost functions being called in that file, so I don't think this is an LHAPDF issue at all. What platform and Boost version are you using? I don't know how to track it down, but my guess is that the issue is with this development version of GCC going wrong with some of the fiddly code in Boost... the implementation of lexical_cast, by the looks of things. To simplify your GCC test, I suggest just writing a minimal source file using lexical_cast to convert between strings and a few numeric types; it really doesn't look like this has anything to do with LHAPDF." Hope this helps! >>From gcc-bugs-return-454182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 14 09:21:58 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3638 invoked by alias); 14 Jun 2014 09:21:58 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3617 invoked by uid 48); 14 Jun 2014 09:21:55 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61506] ICE [4.10 Regression] triggered by solution to #61446 Date: Sat, 14 Jun 2014 09:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: juergen.reuter at desy dot de 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg01264.txt.bz2 Content-length: 1257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61506 --- Comment #4 from J=C3=BCrgen Reuter --- I reduced the case to the code attached. But you need to include the boost headers (which are pretty standard tho; I have version 1.55.0). /opt/local/include is my path for the boost headers. $ g++ -I /opt/local/include -c PDF.cc=20 PDF.cc: In member function =E2=80=98virtual void boost::exception_detail::error_info_injector:= :_ZThn24_N5boost16exception_detail19error_info_injectorINS_2io17bad_format_= stringEED1Ev()=E2=80=99: PDF.cc:29:1: error: unrecognizable insn: } ^ (call_insn/j 3 2 4 (call (mem/u/c:DI (const:DI (unspec:DI [ (symbol_ref/i:DI ("_ZN5boost16exception_detail19error_info_injectorINS_2io17bad_format_strin= gEED1Ev") [flags 0x1] ) ] UNSPEC_GOTPCREL)) [0 S8 A8]) (const_int 0 [0])) /opt/local/include/boost/exception/exception.hpp= :330 -1 (nil) (nil)) PDF.cc:29:1: internal compiler error: in insn_default_length, at config/i386/i386.md:1787 PDF.cc:29:1: internal compiler error: Abort trap: 6 g++: internal compiler error: Abort trap: 6 (program cc1plus) Abort trap: 6 >>From gcc-bugs-return-454181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 14 09:21:47 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2875 invoked by alias); 14 Jun 2014 09:21:47 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2843 invoked by uid 48); 14 Jun 2014 09:21:42 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61506] ICE [4.10 Regression] triggered by solution to #61446 Date: Sat, 14 Jun 2014 09:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: juergen.reuter at desy dot de 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg01263.txt.bz2 Content-length: 256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61506 --- Comment #3 from J=C3=BCrgen Reuter --- Created attachment 32937 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D32937&action=3Dedit Code that triggers the ICE >>From gcc-bugs-return-454183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 14 09:25:46 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5317 invoked by alias); 14 Jun 2014 09:25:45 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5305 invoked by uid 48); 14 Jun 2014 09:25:42 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/61508] New: [4.10 regression] fold-const.c:14863:55: error: cannot convert 'const char*' to 'const_tree Date: Sat, 14 Jun 2014 09:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen 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-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-06/txt/msg01265.txt.bz2 Content-length: 2255 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61508 Bug ID: 61508 Summary: [4.10 regression] fold-const.c:14863:55: error: cannot convert 'const char*' to 'const_tree Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com gcc-trunk r211665 FAIL r211353 PASS ~/src/gcc_current/configure --enable-checking=fold make [...] g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/home/dimhen/src/gcc_current/gcc -I/home/dimhen/src/gcc_current/gcc/. -I/home/dimhen/src/gcc_current/gcc/../include -I/home/dimhen/src/gcc_current/gcc/../libcpp/include -I/home/dimhen/build/g_1/./gmp -I/home/dimhen/src/gcc_current/gmp -I/home/dimhen/build/g_1/./mpfr -I/home/dimhen/src/gcc_current/mpfr -I/home/dimhen/src/gcc_current/mpc/src -I/home/dimhen/src/gcc_current/gcc/../libdecnumber -I/home/dimhen/src/gcc_current/gcc/../libdecnumber/bid -I../libdecnumber -I/home/dimhen/src/gcc_current/gcc/../libbacktrace -DCLOOG_INT_GMP -I/home/dimhen/build/g_1/./cloog/include -I/home/dimhen/src/gcc_current/cloog/include -I/home/dimhen/src/gcc_current/cloog/include -I/home/dimhen/build/g_1/./isl/include -I/home/dimhen/src/gcc_current/isl/include -o fold-const.o -MT fold-const.o -MMD -MP -MF ./.deps/fold-const.TPo /home/dimhen/src/gcc_current/gcc/fold-const.c /home/dimhen/src/gcc_current/gcc/fold-const.c: In function 'void fold_checksum_tree(const_tree, md5_ctx*, hash_table >)': /home/dimhen/src/gcc_current/gcc/fold-const.c:14863:55: error: cannot convert 'const char*' to 'const_tree {aka const tree_node*}' for argument '1' to 'void fold_checksum_tree(const_tree, md5_ctx*, hash_table >)' fold_checksum_tree (DECL_SECTION_NAME (expr), ctx, ht); ^ make[3]: *** [fold-const.o] Error 1