This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16092] wrong thunk code produced with -fPIC and visibility("hidden")
- From: "qboosh at pld-linux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2004 09:51:03 -0000
- Subject: [Bug target/16092] wrong thunk code produced with -fPIC and visibility("hidden")
- References: <20040620094547.16092.qboosh@pld-linux.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From qboosh at pld-linux dot org 2004-06-20 09:51 -------
Created an attachment (id=6580)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6580&action=view)
preprocessed source used as testcase
I don't know how to make gcc produce thunk code in simple C++ code,
so here is original preprocessed source (from mozilla-1.7 code) on which
I discovered wrong behaviour.
Just assemble it with
g++ -S [-fPIC] nsDirectoryService.ii
and check thunk code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16092