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][GRAPHITE] Test for code generation errors


On Mon, Oct 2, 2017 at 4:58 AM, Richard Biener <rguenther@suse.de> wrote:
>
> The following patch adjust GRAPHITE testing to check that existing
> code generation issues occur and makes code generation ICE with
> -fchecking --param graphite-allow-codegen-errors=0.  The param
> is really a testsuite artifact so we can have testcases with
> issues where we have papered over GRAPHITE issues with aborting
> code generation.
>
> This avoids regressing testcases that do not show code generation
> issues and it allows detecting testcases that no longer show
> code generation issues (so we can avoid regressing that feat later).
>
> I'm now working on code-generation issues so that's an important
> feature for me.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk.
>
> Richard.
>
> 2017-10-02  Richard Biener  <rguenther@suse.de>
>
>         * graphite-isl-ast-to-gimple.c (set_codegen_error): With
>         -fchecking and --param graphite-allow-codegen-errors=0 ICE.
>         * params.def (PARAM_GRAPHITE_ALLOW_CODEGEN_ERRORS): New param.
>
>         * gcc.dg/graphite/graphite.exp: Add -fdump-tree-graphite-details.
>         * gcc.dg/graphite/id-16.c: Adjust for existing codegen errors.
>         * gcc.dg/graphite/pr46168.c: Likewise.
>         * gcc.dg/graphite/pr68756.c: Likewise.
>         * gcc.dg/graphite/pr69728.c: Likewise.
>         * gcc.dg/graphite/pr71575-2.c: Likewise.
>         * gcc.dg/graphite/pr77362.c: Likewise.
>         * gcc.dg/graphite/pr81373.c: Likewise.
>         * gcc.dg/graphite/run-id-pr67700-1.c: Likewise.
>         * gfortran.dg/graphite/interchange-1.f: Likewise.
>         * gfortran.dg/graphite/pr29581.f90: Likewise.
>         * gfortran.dg/graphite/pr42334-1.f: Likewise.
>         * gfortran.dg/graphite/pr42393-1.f90: Likewise.
>         * gfortran.dg/graphite/pr42393.f90: Likewise.
>         * gfortran.dg/graphite/pr47019.f: Likewise.

Looks good.


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