[Bug target/16092] wrong thunk code produced with -fPIC and visibility("hidden")
qboosh at pld-linux dot org
gcc-bugzilla@gcc.gnu.org
Sun Jun 20 09:51:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list