This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Testing ICEs resulting from profile directed optimization
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Paulo Matos <pmatos at broadcom dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 10 Oct 2013 18:24:22 +0200
- Subject: Re: Testing ICEs resulting from profile directed optimization
- Authentication-results: sourceware.org; auth=none
- References: <19EB96622A777C4AB91610E763265F462D8090 at SJEXCHMB14 dot corp dot ad dot broadcom dot com>
> Hi,
>
> I have found an ICE reported as (PR 58682) and I have a fix.
Cool :)
> However the testcase involved:
> * compiling a 5 .i files with -fprofile-generate=
> * running the executable
> * compiling the same 5 .i files with -fprofile-use=, and only then getting the ICE.
>
> Is there anything in the GCC testing framework that allows this kind of testing as opposed to the straightforward single test compilation?
You probably only want to put those tests into gcc.dg/tree-prof directory. Those tests are run
with FDO. You will need to convert them to .c files.
Honza