This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: optimization/7515: invalid inlining


The following reply was made to PR optimization/7515; it has been noted by GNATS.

From: Ulrich Drepper <drepper@redhat.com>
To: Geoff Keating <geoffk@geoffk.org>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: optimization/7515: invalid inlining
Date: Tue, 06 Aug 2002 21:17:05 -0700

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Geoff Keating wrote:
 > This is not a bug unless -fpic is used, since executables themselves
 > will not have any symbols overriden, correct?
 
 This assumes clueful programmers.  Often code for DSO are compiled 
 without -fpic.  Sometimes it gets forgotten.  Other times people believe 
 the "PIC register prevents optimization" myth.  The text relocations 
 DSOs and up with having often go completely unnoticed.
 
 So, no, -fpic is no prerequisite for this being a bug.
 
 - -- 
 - ---------------.                          ,-.   1325 Chesapeake Terrace
 Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
 Red Hat          `--' drepper at redhat.com   `------------------------
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQE9UJ9H2ijCOnn/RHQRAiJwAKCgut+4fC4Zoq3VUC2a/knlBz/pRACggv8B
 gg0/a/wOdwawFNE4IOxUseg=
 =Mdrw
 -----END PGP SIGNATURE-----
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]