From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11573 invoked by alias); 19 Feb 2012 18:58:57 -0000 Received: (qmail 11562 invoked by uid 22791); 19 Feb 2012 18:58:56 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Feb 2012 18:58:43 +0000 From: "izamyatin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52241] Performance degradation of 447.dealII on corei7 at spec2006_base32. Date: Sun, 19 Feb 2012 19:14: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: izamyatin 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-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-02/txt/msg01910.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52241 --- Comment #16 from Igor Zamyatin 2012-02-19 18:58:41 UTC --- Jakub, could you please clarify your statement - "But libstdc++.so.6's tree.cc has been compiled with -fPIC -DPIC before Benjamin's change and is compiled with those flags after those changes as well" Compiler logs show somwhat opposite to this statement: Before Benjamin's commit libtool is called without -prefer-pic: /bin/sh ../libtool --tag CXX --mode=compile .... -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -Wabi -ffunction-sections -fdata-sections -frandom-seed=tree.lo -g -O2 -D_GNU_SOURCE -c -o tree.lo ../../../../libstdc++-v3/src/tree.cc and then libtool: compile: /export/users/izamyati/....././gcc/xgcc .... -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -Wabi -ffunction-sections -fdata-sections -frandom-seed=tree.lo -g -O2 -D_GNU_SOURCE -c ../../../../libstdc++-v3/src/tree.cc -o tree.o >/dev/null 2>&1. But in the same time there is the following libtool: compile: /export/users/izamyati/....././gcc/xgcc .... -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -Wabi -ffunction-sections -fdata-sections -frandom-seed=tree.lo -g -O2 -D_GNU_SOURCE -c ../../../../libstdc++-v3/src/tree.cc -fPIC -DPIC -o .libs/tree.o which is absent after Benjamin's commit. Does all this mean that actually tree.cc compiled with fPIC?