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: [RFC]: patch to detect invalid and missing ATTRIBUTE const/pure


 > From: Jakub Jelinek <jakub@redhat.com>
 > 
 > On Fri, Mar 22, 2002 at 10:03:27AM -0500, Kaveh R. Ghazi wrote:
 > > 
 > > Now any calls to foo() inside the original module would resovle to the
 > > definition inside the file, regardless of whether we eventually link
 > > with a shared lib having another copy of foo, right?
 > 
 > Only if foo is static or MODULE_LOCAL_P. Otherwise anyone can interpose
 > a different version of foo which is not pure.
 > 	Jakub

Gotcha.

So any thoughts on the issue with noreturn functions?

--
Kaveh R. Ghazi			Director of Systems Architecture
ghazi@caip.rutgers.edu		Qwest Global Services


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