From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23181 invoked by alias); 15 Apr 2014 21:21:06 -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 22703 invoked by uid 48); 15 Apr 2014 21:20:59 -0000 From: "joachim.schoeberl at tuwien dot ac.at" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60854] New: inline constructor of extern template Date: Tue, 15 Apr 2014 21:21: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: joachim.schoeberl at tuwien dot ac.at 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 attachments.created 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-04/txt/msg01136.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60854 Bug ID: 60854 Summary: inline constructor of extern template Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: joachim.schoeberl at tuwien dot ac.at Created attachment 32610 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D32610&action=3Dedit source file this code was accepted by gcc-4.8 up to (at least) gcc-4.9-20140323, but g++ (GCC) 4.9.0 20140411 (prerelease) complains. compiled with g++ -c -O2 --std=3Dc++11 test.cpp error message of gcc-4.9.0 prerelease: test.cpp: In function =E2=80=98void Func()=E2=80=99: test.cpp:5:46: error: inlining failed in call to always_inline =E2=80=98MyClass::MyClass() [with T =3D double]=E2=80=99: function body = not available __attribute__ ((__always_inline__)) inline MyClass () { ; } ^ test.cpp:12:19: error: called from here MyClass x; ^ >>From gcc-bugs-return-449117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 15 21:32:16 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3574 invoked by alias); 15 Apr 2014 21:32:16 -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 3526 invoked by uid 48); 15 Apr 2014 21:32:13 -0000 From: "bernd.edlinger at hotmail dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin Date: Tue, 15 Apr 2014 21:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: bernd.edlinger at hotmail dot de X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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-04/txt/msg01137.txt.bz2 Content-length: 652 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 Bernd Edlinger changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernd.edlinger at hotmail dot de --- Comment #23 from Bernd Edlinger --- FYI: I have 32-bit cygwin 1.7.28-2/XP SP2 here, and the following configuration builds successfully: ../gcc-4.9.0-RC-20140411/configure --prefix=/ --enable-languages=c,c++ gmp etc. in-tree with: contrib/download_prerequisites