This is the mail archive of the gcc-bugs@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]

[Bug target/16092] wrong thunk code produced with -fPIC and visibility("hidden")


------- 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


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