[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    Re: PR 23296: Strange -O3 -finstrument-functions behaviour
From:       Ian Lance Taylor <iant () google ! com>
Date:       2009-06-29 21:09:40
Message-ID: m33a9i3fxn.fsf () google ! com
[Download RAW message or body]

Richard Sandiford <richards@transitive.com> writes:

> Is this really the intended behaviour?  Andrew closed the bug as invalid,
> saying that this is what we expect, but the docs seem to suggest that we
> ought to do something like:
>
>     ...
>     __cyg_profile_func_enter (&main, ...);
>     ...
>     __cyg_profile_func_enter (&g, ...);
>     ...
>     __cyg_profile_func_exit (&g, ...);
>     ...
>     __cyg_profile_func_exit (&main, ...);
>     ...

I agree.  The docs seem reasonably clear.

Ian
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic