From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14806 invoked by alias); 3 Nov 2013 22:31:59 -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 14163 invoked by uid 48); 3 Nov 2013 22:29:57 -0000 From: "wtt6 at cornell dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58983] New: ICE when inheriting templated constructor Date: Sun, 03 Nov 2013 22:31: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wtt6 at cornell dot edu 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: 2013-11/txt/msg00143.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58983 Bug ID: 58983 Summary: ICE when inheriting templated constructor Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wtt6 at cornell dot edu $ cat foo.cpp struct Base { template Base(T) { } }; struct Derived: public Base { using Base::Base; }; int main() { Derived(1); return 0; } $ /var/tmp/portage/wthrowe-gcc-trunk/dist/bin/g++ -v -std=3Dc++11 foo.cpp Using built-in specs. COLLECT_GCC=3D/var/tmp/portage/wthrowe-gcc-trunk/dist/bin/g++ COLLECT_LTO_WRAPPER=3D/var/tmp/portage/wthrowe-gcc-trunk/dist/libexec/gcc/x= 86_64-unknown-linux-gnu/4.9.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../srcdir/configure --prefix=3D/var/tmp/portage/wthrowe-gcc-trunk/dist Thread model: posix gcc version 4.9.0 20131103 (experimental) (GCC)=20 COLLECT_GCC_OPTIONS=3D'-v' '-std=3Dc++11' '-shared-libgcc' '-mtune=3Dgeneri= c' '-march=3Dx86-64' /var/tmp/portage/wthrowe-gcc-trunk/dist/libexec/gcc/x86_64-unknown-linux-gn= u/4.9.0/cc1plus -quiet -v -D_GNU_SOURCE foo.cpp -quiet -dumpbase foo.cpp -mtune=3Dgeneric -march=3Dx86-64 -auxbase foo -std=3Dc++11 -version -o /tmp/ccBubai5.s GNU C++ (GCC) version 4.9.0 20131103 (experimental) (x86_64-unknown-linux-g= nu) compiled by GNU C version 4.9.0 20131103 (experimental), GMP version 5.1.3, MPFR version 3.1.2, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/var/tmp/portage/wthrowe-gcc-trunk/dist/lib/gcc/x86_64-unknown-linux-gnu/4= .9.0/../../../../x86_64-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /var/tmp/portage/wthrowe-gcc-trunk/dist/lib/gcc/x86_64-unknown-linux-gnu/4.= 9.0/../../../../include/c++/4.9.0 /var/tmp/portage/wthrowe-gcc-trunk/dist/lib/gcc/x86_64-unknown-linux-gnu/4.= 9.0/../../../../include/c++/4.9.0/x86_64-unknown-linux-gnu /var/tmp/portage/wthrowe-gcc-trunk/dist/lib/gcc/x86_64-unknown-linux-gnu/4.= 9.0/../../../../include/c++/4.9.0/backward /var/tmp/portage/wthrowe-gcc-trunk/dist/lib/gcc/x86_64-unknown-linux-gnu/4.= 9.0/include /var/tmp/portage/wthrowe-gcc-trunk/dist/include /var/tmp/portage/wthrowe-gcc-trunk/dist/lib/gcc/x86_64-unknown-linux-gnu/4.= 9.0/include-fixed /usr/include End of search list. GNU C++ (GCC) version 4.9.0 20131103 (experimental) (x86_64-unknown-linux-g= nu) compiled by GNU C version 4.9.0 20131103 (experimental), GMP version 5.1.3, MPFR version 3.1.2, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 Compiler executable checksum: 2df0428df4df4a6a1a5fa39a6a3e09ed foo.cpp: In constructor =E2=80=98Derived::Derived(T) [with T =3D int]=E2=80= =99: foo.cpp:2:43: internal compiler error: Bus error struct Derived: public Base { using Base::Base; }; ^ 0xb2d06f crash_signal ../../srcdir/gcc/toplev.c:334 0xf3dfa0 recog_97 ../../srcdir/gcc/config/i386/i386.md:941 0xdf594d recog_memoized ../../srcdir/gcc/recog.h:155 0xdf594d insn_default_length(rtx_def*) ../../srcdir/gcc/config/i386/i386.md:636 0x8e59bd shorten_branches(rtx_def*) ../../srcdir/gcc/final.c:1190 0x8e5c8f rest_of_handle_shorten_branches ../../srcdir/gcc/final.c:4516 0x8e5c8f execute ../../srcdir/gcc/final.c:4545 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-433367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 03 23:23:42 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5149 invoked by alias); 3 Nov 2013 23:23:42 -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 4605 invoked by uid 48); 3 Nov 2013 23:21:39 -0000 From: "zeratul976 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/52015] std::to_string does not work under MinGW Date: Sun, 03 Nov 2013 23:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.6.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zeratul976 at hotmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 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: 2013-11/txt/msg00144.txt.bz2 Content-length: 843 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52015 --- Comment #32 from Nathan Ridge --- (In reply to Jonathan Wakely from comment #31) > Or to put it another way, this bug only affects MinGW users, is blocked by a > limitation in MinGW, and noone from MinGW has offered to do anything about > it, but you're pointing fingers at GCC devs and saying there's a GCC clique? > Who is preventing MinGW devs joining this clique? No one, but they need to know about issues like this in order to do something about them. Above you said that this was "not possible" to fix for mingw. If you really meant "this would require changes in the mingw runtime", perhaps you should have said that. Then, even if you are not motivated to approach the MinGW developers to effect such changes, someone else (e.g. me) could have.