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: [PATCH] Don't error on coverage mismatch by request


> On 1/14/07, Jan Hubicka <hubicka@ucw.cz> wrote:
> >> On 1/14/07, Manuel López-Ibá?ez <lopezibanez@gmail.com> wrote:
> >> >I ain't no diagnostics maintainer but, don't we need a few testcases
> >> >for this? Like, testing for not enabled by default and testing with
> >> >the option enabled? Or that rule only applies for newbies like me?
> >>
> >> It's hard to do a testcase for this with current dejagnu setup, but in
> >> principle
> >> you are right.
> >
> >You can most probably use the tree-profile testcase and different -D
> >switch for profiling and feedback run.
> 
> Do you know how I can do this?  There seems to be no generate/use
> special dg-options.

What about simply hacking tree-prof.exp to always pass -DPROFILE_GENERATE
along with -fprofile-generate and -DPROFILE_USE with -fprofile-use?
Testcases supposed to pass won't use it.

Honza
> 
> Richard.


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