This is the mail archive of the gcc-patches@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: Performance regression


>>>>> Richard Henderson writes:

Richard> It's rs6000_binds_local_p.  Since AIX forces flag_pic true, it is
Richard> effectively prevented from auto-inlining any non-static function.

	Does Darwin set flag_pic non-zero by default?

	I do not see where Darwin changes the value by default, so I do
not understand why Darwin produced different code with the commandline
posted.  With the inlining, the testcase should fail with the recent
patch. 

Richard> I believe David said that AIX normally binds locally in shared
Richard> libraries, but there is a linker switch to change that default.
Richard> He also said that the IBM compiler doesn't change code generation
Richard> wrt that flag; it's up to David to decide what's best here for gcc.

	The behavior is correct for AIX.

David


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