From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7070 invoked by alias); 2 Sep 2014 20:55:05 -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 6703 invoked by uid 48); 2 Sep 2014 20:55:01 -0000 From: "chris2553 at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/62224] [4.9 Regression] Possible regression in gcc-4.9-20140820 Date: Tue, 02 Sep 2014 20:55: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.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chris2553 at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.2 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-09/txt/msg00891.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62224 --- Comment #9 from Chris Clayton --- That seems odd to me, although I'm happy to be told I'm wrong. I base this on the fact that reverting the code change from r214208 permits a successful build. MoreOver, in both the failed and sucessful builds, ensureUpdated is present in cppmodelmanager.o and that is linked into libCppTools.so as can be seen by: [chris:~/rpm/build/qt-creator-opensource-src-3.2.0-fail/qt-creator-3.2.0-build]$ nm lib/qtcreator/plugins/libCppTools.so | grep ensureUpdated 000af430 t _ZN8CppTools8Internal15CppModelManager13ensureUpdatedEv [chris:~/rpm/build/qt-creator-opensource-src-3.2.0-fail/qt-creator-3.2.0-build]$ cd ~/rpm/build/qt-creator-opensource-src-3.2.0/qt-creator-3.2.0-build [chris:~/rpm/build/qt-creator-opensource-src-3.2.0/qt-creator-3.2.0-build]$ nm lib/qtcreator/plugins/libCppTools.so | grep ensureUpdated 000af640 t _ZN8CppTools8Internal15CppModelManager13ensureUpdatedEv cppmodelmanager.0 is listed (in Makefile) as an object to be included in the link of libCppTools.so in both builds. I don't know whether it will be of any help, but I've diffed cppmodelmanager.ii produced in the two builds and the output is: --- cppmodelmanager.ii.good 2014-09-02 21:25:02.559799184 +0100 +++ cppmodelmanager.ii.fail 2014-08-22 08:27:06.000000000 +0100 @@ -18581,23 +18581,7 @@ namespace std __attribute__ ((__visibili inline basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT, _Traits, _Alloc>& __str) - { return std::getline(__is, __str, __is.widen('\n')); } - - - - template - inline basic_istream<_CharT, _Traits>& - getline(basic_istream<_CharT, _Traits>&& __is, - basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim) - { return std::getline(__is, __str, __delim); } - - - template - inline basic_istream<_CharT, _Traits>& - getline(basic_istream<_CharT, _Traits>&& __is, - basic_string<_CharT, _Traits, _Alloc>& __str) - { return std::getline(__is, __str); } - + { return getline(__is, __str, __is.widen('\n')); } template<> basic_istream& @@ -19695,7 +19679,7 @@ namespace __gnu_cxx __attribute__ ((__vi } -# 2851 "/usr/include/c++/4.9.2/bits/basic_string.h" 2 3 +# 2835 "/usr/include/c++/4.9.2/bits/basic_string.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { @@ -20103,7 +20087,7 @@ namespace std __attribute__ ((__visibili } -# 3069 "/usr/include/c++/4.9.2/bits/basic_string.h" 2 3 +# 3053 "/usr/include/c++/4.9.2/bits/basic_string.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { @@ -20174,7 +20158,7 @@ namespace std __attribute__ ((__visibili template<> struct __is_fast_hash> : std::false_type { }; -# 3173 "/usr/include/c++/4.9.2/bits/basic_string.h" 3 +# 3157 "/usr/include/c++/4.9.2/bits/basic_string.h" 3 } # 53 "/usr/include/c++/4.9.2/string" 2 3