Joern Rennecke <[EMAIL PROTECTED]> writes:

> On Wed, Jan 30, 2008 at 10:51:25PM +0100, Jakub Jelinek wrote:
> > On Wed, Jan 30, 2008 at 09:18:14PM +0000, Joern Rennecke wrote:
> > > However, AFAIK having multiple source files is at odds with a simple test.
> > 
> > If noinline attribute doesn't help, then you can use
> 
> It doesn't.  I see the symbols with nm, but the failure is no longer
> reproducible.

One issue here is that in some cases const and pure calls can get
combined and eliminated even with attribute noinline (unless this
changed recently).  So in addition to attribute noinline, putting an
asm volatile ("") in the function can help make it non-pure and
non-const.

Ian

Reply via email to