From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20999 invoked by alias); 8 Jun 2014 05:28: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 Received: (qmail 20932 invoked by uid 48); 8 Jun 2014 05:28:29 -0000 From: "ppluzhnikov at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61445] New: [C++11][4.10 Regression] ice in instantiate_decl Date: Sun, 08 Jun 2014 05:28: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-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppluzhnikov at google 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg00554.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61445 Bug ID: 61445 Summary: [C++11][4.10 Regression] ice in instantiate_decl Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com This appears to be a recent regression in trunk. Source reduced from llvm/tools/clang/tools/clang-check/ClangCheck.cpp Using trunk @r211286: gcc-svn-r211286/bin/g++ -c t1.ii -std=3Dc++11 t1.ii: In instantiation of =E2=80=98void newFrontendActionFactory(FactoryT*, int*)::A::m_fn1() [with FactoryT =3D int]=E2=80=99: t1.ii:18:5: required from =E2=80=98void newFrontendActionFactory(FactoryT= *, int*) [with FactoryT =3D int]=E2=80=99 t1.ii:19:33: required from here t1.ii:11:13: internal compiler error: in instantiate_decl, at cp/pt.c:19753 B (0, 0); ^ 0x5c6d0f instantiate_decl(tree_node*, int, bool) ../../gcc/cp/pt.c:19752 0x63cda3 mark_used(tree_node*, int) ../../gcc/cp/decl2.c:5016 0x557f73 build_over_call ../../gcc/cp/call.c:7335 0x563880 build_new_method_call_1 ../../gcc/cp/call.c:8047 0x563880 build_new_method_call(tree_node*, tree_node*, vec**, tree_node*, int, tree_node**, int) ../../gcc/cp/call.c:8117 0x564959 build_special_member_call(tree_node*, tree_node*, vec**, tree_node*, int, int) ../../gcc/cp/call.c:7661 0x607df6 build_functional_cast(tree_node*, tree_node*, int) ../../gcc/cp/typeck2.c:1935 0x5bbf86 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, boo= l, bool) ../../gcc/cp/pt.c:14415 0x5ca963 tsubst_expr ../../gcc/cp/pt.c:14133 0x5cad61 tsubst_expr ../../gcc/cp/pt.c:13559 0x5caf03 tsubst_expr ../../gcc/cp/pt.c:13731 0x5c8503 instantiate_decl(tree_node*, int, bool) ../../gcc/cp/pt.c:20043 0x5caa2b tsubst_expr ../../gcc/cp/pt.c:13872 0x5ca273 tsubst_expr ../../gcc/cp/pt.c:13545 0x5caf03 tsubst_expr ../../gcc/cp/pt.c:13731 0x5c8503 instantiate_decl(tree_node*, int, bool) ../../gcc/cp/pt.c:20043 0x601387 instantiate_pending_templates(int) ../../gcc/cp/pt.c:20159 0x63e7ef cp_write_global_declarations() ../../gcc/cp/decl2.c:4348 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. The crash does not reproduce without -std=3Dc++11, nor using trunk build @r210629. /// -- cut --- template < typename FactoryT > void newFrontendActionFactory (FactoryT *, i= nt * =3D 0); int a; template < typename FactoryT > void newFrontendActionFactory (FactoryT *, int *) { class A { void m_fn1 () { B (0, 0); } class B { public: B (FactoryT, int); }; }; newFrontendActionFactory (&a); } >>From gcc-bugs-return-453473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 08 05:47:14 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26826 invoked by alias); 8 Jun 2014 05:47:09 -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 26653 invoked by uid 55); 8 Jun 2014 05:46:23 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56981] Slow I/O: Unformatted 5x slower, large sys component; formatted slow as well Date: Sun, 08 Jun 2014 05:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jb at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg00555.txt.bz2 Content-length: 1031 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56981 --- Comment #10 from Janne Blomqvist --- Author: jb Date: Sun Jun 8 05:43:29 2014 New Revision: 211353 URL: http://gcc.gnu.org/viewcvs?rev=211353&root=gcc&view=rev Log: PR 56981 Flush buffer at record boundary if possible. 2014-06-08 Janne Blomqvist PR libfortran/56981 * io/unix.h (struct stream_vtable): Add new member function, markeor. (smarkeor): New inline function. (flush_if_unbuffered): Remove prototype. * io/unix.c (raw_markeor): New function. (raw_vtable): Initialize markeor member. (buf_markeor): New function. (buf_vtable): Initialize markeor member. (mem_vtable): Likewise. (mem4_vtable): Likewise. (flush_if_unbuffered): Remove function. * io/transfer.c (next_record): Call smarkeor instead of flush_if_unbuffered. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/transfer.c trunk/libgfortran/io/unix.c trunk/libgfortran/io/unix.h